Jump Menus & iFrames

They have: 42 posts

Joined: Jan 2005

Hmm.

I've got a jump menu which takes the user to the selected page. Simple.

Is there a way I can change it so it opens in an iFrame below? Or if not, an alternative option?

Thanks

James

Roo's picture

She has: 840 posts

Joined: Apr 1999

Try adding target="nameofiframe" into your link:

"nameofiframe" would be whatever you've named it like so:

"whateverpage.html" target="parent" title="Link Title"

Roo

They have: 42 posts

Joined: Jan 2005

Didn't work...

Here's the the important part of the original script:


You can browse our many treatments by:

Brand
Decleor
Guinot

,

Part of Body

or

Type of Treatment

.

 

I tried adding a target value, but it didn't change anything at all. Any ideas...

Oh, by the way, I tried putting the HTML in HTML tags but it didn't let me for some reason so I put it in red instead :eek:

James

They have: 42 posts

Joined: Jan 2005

There! I've done it!

Silly me, I was forgetting to make the F capital. Hmm, why did I make that capital in the first place...

Thanks

heebiejeebieclu's picture

They have: 527 posts

Joined: Aug 2004

Well, iframes are now frowned upon in HTML4.01 and the latest version of XHTML. They are being replaced with the more general tag

Roo's picture

She has: 840 posts

Joined: Apr 1999

Interesting....

How would that work heebie? Can you do something like an iframe with an object tag?

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.