HTML - Iframe Script Help Needed (:
Hello. (:
I am kinda new to the forum, and the web development. So... Don't be too harsh on me My problem: I have an iFrame page, with 5 iFrames "inside", named "news1", "news2" ect. What I want to do is, that when the 'page/main iFrame' loades, the 5 iFrames should load their content from a folder ("...\pages\news").. BUT! In that folder will be a lot of HTML files, numbered (1, 2, 3... ect.), and the iFrames should load the latest 5 HTML files. For example: There is 26 HTML files in the folder: "...\pages\news" -- news1.src = "...\pages\news\26.html" news2.src = "...\pages\news\25.html" news3.src = "...\pages\news\24.html" ECT.! Function Idea: When the page loades an integer will be dimmed ("INTcount") and the files should be counted in the ("...\pages\news") folder. The INTcount now equals the count og the files. Then: news1.src = "...\pages\news\" & INTcount & ".html" news2.src = "...\pages\news\" & INTcount -1 & ".html" news3.src = "...\pages\news\" & INTcount -2 & ".html" and you get the idea..I am a Visual Basic programmer, and I could easily do this in VB. But I need to code it in a SIMPLE way, using HTML, Java or ActiveX. CAN YOU PLEASE HELP ME?! Thank you and Best regards; -Martin Similar TutorialsI need to know how to code an Iframe for my website that doesn't reload when the rest of the page is or if the page is changed, like a locked second page below the changing one. This is NOT a professional website - it's just a crappy blogging portfolio project I have to do at Uni so please ignore the awful photoshopping. Basically I want to know if it's possible to add an iFrame on an image? I have dreamweaver CS5 and cannot for the life of me work out how to do it. My website is: www.chloieonline.com. Basically, if I use the image as a background, I can't work out how to align the frame PLUS it's quite a large background dimension wise. If I insert the image, I then cannot work out how to add the iframe on top on the image?! If anyone can help I'd be so grateful!! Ok so im working on building this "anti-blocker" site for my school... hey its against the rules but its alotta fun to do.. im using proxies... Anyway, I have an iframe on the page and in there i have some quick links and the form for the proxy. You type the url into the form and hit "GO!!!!!" and it takes you through a proxy to your destination. I have recently uploaded my own proxy and it finally is working for me so I stuck it in the iframe like i have for the rest of the proxies i've used but theres a problem. When you type in the URL and hit "GO!!!!!!" it reloads the entire page with the index.php website instead of staying in the iFrame like I want it to. I have tried putting it in 2 iframes (just a spur of the moment idea) and I've tried putting target="index.php" codes everywhere i could think but it still didn't work. Maybe I shouldn't use iFrames but in the end I need it to be some information at the top and then in a square/frame thing I need the proxy website. I've looked into Ajax's browser within a browser thing but it needs to be less hightech and that looks REALLY confusing.. I hope someone can help me with this and here's the script for the index.php: http://erxz.com/pb/1949 I have an option list and an iframe. My goal is to change the target source for the iFrame when I select and option from the list. I'm able to do this with normal links like this Code: <a href="video/video-page.html" target="VideoFrame">Video Page</a> But how can I do this with a option list? If i didn't plan on having 50+ different options I would just use normal links however this is not the case. Is it possible to do this? Hey everybody, I've been wrestling with the classic iframe border issue in IE for the past couple of days and desperately need to know if I've cracked it (browsershots is just getting slower and slower these days..) http://www.eveningtweed.com/lauratest/home.htm Are IE users on PCs seeing a border around the iframe which contains the 'workworkwork' line? I've ensured the CSS for the iframe is correct (frameBorder=0 with the camel case) as well as setting a 0 border on the page loaded into the frame itself. Jez Hi, I have been teaching myself web development from scratch and need a little help changing the colour of "inline scrollbars", but not the general scrollbar( i.explorer). Does anyone know of a script that can be incorporated into the command line <iframe "commands needed" </iframe> or do i have to learn more about style sheets? (css)? any help here would be greatful. I currently have: <iframe name="_leftnav" src="main.htm" border="0" frameborder="0" width="295" height="525"> </iframe> I know theres not alot here, but can you use commands such as scrollbarcolour=#FFFFFF; for example?? Thanks everyone!! Jai C Hi, I am new to web development. I would appreciate any insight anyone might have with the following issue I seem to be having with an iframe. I have a web page with amongst others contains an iframe that is initially not visible (width=0). When a user makes a selection from a drop down list (HTML SELECT/OPTION), a JS script posts details to a PHP server script which then (re-)builds the iframe contents. The problem I seem to be having is I can't get the browser to display (load) the iframe as (re-)built by the PHP script. I say rebuilt as the iframe does get called initially (via a GET from the browser) when the page that owns the iframe is loaded. Because the PHP script is dependant on the parameters that get passed with the POST to construct the iframe correctly, this GET results in a meaningless page/iframe. This initially does not matter as the iframe is not visible until the selection from the drop down is done. The subsequent POST which is triggered via this selection from the drop down list (JS post using ajax) to the PHP server script, does not show up in the browser...:-( Just displays the initial page as constructed from the GET. When I look at this sequence of event in firebug, the POST does result in the HTML I expect (i.e. I can see the POST contents sent to the PHP script and the HTML generated by it; renders perfect as expected), but I just can't see it in the browser. This makes me believe its a caching issue maybe (??), but even a reload of the iframe using JS and DOM still does not render the page correctly. I have tried inserting the following in both the page that owns the iframe as well as the iframe itself with no luck... <meta http-Equiv="Cache-Control" Content="no-cache"> <meta http-Equiv="Pragma" Content="no-cache"> <meta http-Equiv="Expires" Content="0"> Am I missing something? Any suggestions? I have 2 IFrames on a page. I am going to end up with a long list of shows to catch-up on. Is there a way I can embed an IFrame with the list, and when you click on a show, you it will change the Playing Show http://tiny.cc/catchup <---The page I am referring to. hi, i've a very simple html page, where i have an iframe. The problem is that i want to add some text below the iframe. however, my text keeps showing up on the right hand side of the iframe. i've looked at the tutorials discussing the tags available for iframe, but surprisingly, none seem to relevant to this. Code: <html> <body> <table border="0" cellspacing="10"> <table border="0" cellpadding="0" cellspacing="0" align="left"> <td valign="top"> <iframe src="mySource.jsp" height="700" width="600" frameborder="0" scrolling="auto"></iframe> </td> </table> This should be displayed below the iframe but actually gets displayed on the right </body> </html> any help / guidance in this will be much appreciated. thanks in advance! Now here is my problem. I'm not familiar with other laguages then html and a little bit of javascript and I wanted to make a site for me and my brothers photography company. I currently using dreamweaver and have figured out the way I want to make this site. I tried using ordinary frames, but I want the website to be aligned in the middle and I could make that happen. That is why I went into iframes and a regular table on the index page. My problem now is that I have several iFrames and I want a link from one to open in another. http://www.trans4mind.com/personal_d...e/iframes3.htm here is a link for this to happen, and the simple solution is to name the frame and then target the link. but I have tried that and when the link is from one iframe to another it won't work. If the link is on the index page and target the iframe then it works. Do you have any idea why this happens? I know it's possible since the link above does it. Hi! I've been cracking my head trying to solve this: How can I insert a iframe [i.e. 300x200px] inside of another iframe [i.e. 700x500px] and pull different web content n each one? kind of concentric iframes or like a 'Donut iframe' Hi. I am new to this forum, and new to html/website development, etc. I am trying to get help on how to fix a problem with my website. I run a website for a small non-profit dog and cat rescue. The site was set up by a friend who understands this stuff, and I basically copy and paste coded? templates where I fill in information about the animals, etc. I am trying to fix a problem with embeded youtube videos, but honestly don't really know what the problem is. The website is www.flarescue.org if that helps. On the site, we have embeded youtube videos, along with pictures of each animals. The videos work fine, and the picture thumbnails look fine as well. The problem occurs when you click on the pictures to enlarge them. For some reason, the youtube videos stay in the foreground, and block the pictures. This problem only happens when viewing the website on IE or Chrome. Everything looks fine when viewing on firefox or safari. Any ideas as to what the problem is, or if this forum is where I should be looking for answers? And if so, where should I post my question? Thanks. Dylan Okay, you know those HTML pages on the side of your page on some websites? The frame thingys... I forget the name of it, but I would really like it if somebody could write me a little script to make one. Thanks. Frameset is what I think their correct name is... Hello! I've no idea, how to margin a html page like the attachment.. Can anyone help me, please??? Ok I have some files (500) or so that I need to edit and and replace some parts of the code. Is there a program out there that would edit out certain code and delete it on multiple pages with out going through each page individually. Thanks. Our web designer has encountered a problem while designing our website www.buzzprinting.co.uk. The problem seems to be when you scroll down the page you are greeted with a mass of blue background. Does anyone know how this problem can be seolved? Many thanks in advanced. Steve Hi - I'm not a developer and need some help with this... I have a basic html page with images and text and I need to add the functionality of when a user clicks a defined button, the whole page flashes white 5 or 6 times - Almost like someone taking a photo and the flash goes off 5 or 6 times - Is this possible and what script would I need to include on the page to make this happen when the user clicks a certain button. Hope I've explained it ok, any help would be much appreciated - Thanks.. I want to write some HTML to display some details on a CV the same as the images I've attached. The code I've written doesn't produce this exactly for me. Can anyone suggest how to remedy it? Code: <table border=0> <tr> <td><b>Name</b></td> <td>John Smith</td> </tr> <tr> <td><b>Address</b></td> <td>5 Main Street<br>Ballinasloe<br>Co.Galway</td> </tr> <tr> <td><b>Date of Birth</b></td> <td>10-05-1985</td> </tr> <tr> <td><b>Telephone</b></td> <td>086 81828384</td> </tr> </table> Code: <h2><a name="work"><i>Work Experience</i></h2> <b>Dunnes Stores</b> <dd>My main Responsiblities inclued:</dd> <ul> <li>Packing</li> <li>Till work</li> <li>Mopping out toilets</li> </ul> Help needed! I've been given a website and some code from the website. I need to create a website like this one: http://carapprovalnow.com/ I have the code from this site, but need help filling in the blanks!! Any help would be appreciated!! Thanks!!! |