Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Iframe

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
sjuufke Posted - 31 Oct 2006 : 14:49:59
Can the content of an Iframe be made variable?

<IFRAME SRC="http://www.whatever.com" NAME="Generic1" width="450" height="350">
Jammer genoeg ondersteunt je browser geen frames.
</IFRAME>

I want to make just 1 iframe wich can load different url's depending on different menu items.

Greetz

Sjuufke
8   L A T E S T    R E P L I E S    (Newest First)
Waldorf Posted - 02 Nov 2006 : 18:46:50
Thanks Dav. but see my post (this topic) Posted - 01 Nov 2006 01:35:58
it works in an Iframe

blue txt ;-)
*
s.dav Posted - 02 Nov 2006 : 11:12:17
>strange, I tried to do the same with a "generic" but "Flash" and
> nothing happens?

This doesn't work because it's not an IFRAME ;-)

I think you should change the code to a thing like this (not tested):

document.getElementById('Generic1').src='http://pippo.swf'

but I'm not sure, I should make some tests...
petran Posted - 01 Nov 2006 : 13:12:07
HaHa[3 w], Beware Waldorf...Belgium is only 20 minutes away
Waldorf Posted - 01 Nov 2006 : 01:35:58
no,no, you are not missing something, heu...(for once)

there are 3 ways to do it! [3 yes]
A minus with the target method = that we have no preview!

*added*

Flash problem also solved!
[3 yes]

*
petran Posted - 01 Nov 2006 : 00:41:45
When you want to change its content by using a menu you can choose the iframe as target in the link wizard....or do I miss something?

Seems to me even more simple
Waldorf Posted - 31 Oct 2006 : 22:14:39
@Dav.
strange, I tried to do the same with a "generic" but "Flash" and nothing happens?
Waldorf Posted - 31 Oct 2006 : 19:09:51
yes, that is the easy way!
and idd. it woks well
s.dav Posted - 31 Oct 2006 : 17:52:58
Yes by using Javascript:

- Put a generic iframe object into the page
- Put into a javascript block this code:

document.frames['Generic1'].location='http://www.google.com'

- Lauch the code using events ;-)

Tested and it works ok ;-)

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000