Does anyone know anything about HTML here?

  • Thread starter Thread starter Potato pirate
  • Start date Start date
P

Potato pirate

Guest
I need help with IFRAMES!

an iframe is a frame with src="blahblah.html" in it...

And when u click a link, the iframe only changes. not the website...

how do i make the links in the iframe change the actual websites address

If you still don't know what i mean... here is an example.

Say i owned Google... and i put the google images link inside an iframe... How would i make the link change the page. ( google.com to google.com/images ) instead of the iframe going to google.com/images
Yeah,,, but the toolbar is flash you see...


And putting javascript in flash is basic suicide
Yeah,,, but the toolbar is flash you see...


And putting javascript in flash is basic suicide
Im putting it in an iframe so i can reload the src, and have different themes of toolbars etc.
 
you need to use javascript, something along the lines of :

<a href="#" onclick="parent.location=http://thelink.html">Click Me</a>

May not be exact, but to give you a rough idea.... look into javascript parent.

Not sure why you need to use an i-frame through? They are pretty obsolete these days and generally have no use.
 
Back
Top