topshot_2k
Banned
Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
|
right, i have a page that uses an iframe and calls test.html to display inside the frame.
However i want to have 5 links down the side menu so when i click on link 1 it loads document 1 into the iframe
click link 2 it removes document 1 and displays document 2
click link 3 it removes document 2 and displays document 3
etc
anyone help or offer advice?
[Edited on 27-06-2007 by topshot_2k]
|
dna23
Member
Registered: 1st Nov 04
Location: Northamptonshire
User status: Offline
|
you need to point the link to the iframe
1. give the iframe a name e.g. <iframe name=main....>
2. then point the links to <a href="test.html" target="main">...
that should work...
|
topshot_2k
Banned
Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
|
sweet, got it working, thanks.
would have looked it up but 90% of code websites are blocked.
|
topshot_2k
Banned
Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
|
right is it possible to use a function so that the IFrame scrolls all the time and pauses onMouseover?
|
dna23
Member
Registered: 1st Nov 04
Location: Northamptonshire
User status: Offline
|
Can you view this:
http://www.dynamicdrive.com/forums/archive/index.php/t-2590.html
Looks like its what you're after
|
topshot_2k
Banned
Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
|
yes, as helped me out but im after the iframe contents to automatically scroll like a marquee, rather than have to click or mouse over a button
|