corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » iFrames


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author iFrames
topshot_2k
Banned

Registered: 1st Dec 03
Location: Northampton Drives: Pug GTi-6
User status: Offline
27th Jun 07 at 09:02   View User's Profile U2U Member Reply With Quote

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
27th Jun 07 at 09:10   View User's Profile U2U Member Reply With Quote

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
27th Jun 07 at 09:31   View User's Profile U2U Member Reply With Quote

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
27th Jun 07 at 12:50   View User's Profile U2U Member Reply With Quote

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
27th Jun 07 at 13:29   View User's Profile U2U Member Reply With Quote

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
27th Jun 07 at 13:37   View User's Profile U2U Member Reply With Quote

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

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Urgent help - Calling all HTML'ers Ren Geek Day 22 1183
25th Nov 05 at 19:42
by drunkenfool
 
After Constructice Criticism Bart Geek Day 41 2314
5th Sep 06 at 08:33
by James
 
Wii Recalls topshot_2k Geek Day 32 1680
15th Dec 06 at 12:38
by topshot_2k
 
javascript/IFrames topshot_2k Geek Day 2 510
23rd Jun 07 at 10:02
by topshot_2k
 

Corsa Sport » Message Board » Off Day » Geek Day » iFrames 29 database queries in 0.0115411 seconds