Search found 5 matches

by Theme
Mon Apr 18, 2005 3:33 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Targeting to iframe
Replies: 8
Views: 4549

That´s what I did, looked at the source of the page and copied the code from there. Makes me wonder why there is different script in sample than in the page itself. Anyway, it works perfectly now. Thanks for your advices and for your patience :D
by Theme
Mon Apr 18, 2005 1:38 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Targeting to iframe
Replies: 8
Views: 4549

Hmm, it works now...

The script in my page is now:

<script>
function openIFrame(iFrameId,winURL)
{
ifId=gmobj(iFrameId)
ifId.src=winURL
}

</script>

I wonder why it doesn´t work with the script that you posted and which I found in samples?!?!
by Theme
Sat Apr 16, 2005 12:07 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Targeting to iframe
Replies: 8
Views: 4549

Oh god, am I getting a headache :?: :cry:
Back to basics:

1. function openIFrame(IFrameID, URL){
ifId=gmobj(IFrameID)
ifId.location.href=URL // Opera Bug Fix. ifId.src=URL
}

In which section of my page am I supposed to place that code and which tags must I use, <script>???

2. aI("text=MyPoetry ...
by Theme
Fri Apr 15, 2005 4:29 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Targeting to iframe
Replies: 8
Views: 4549

Still something to ask...

:oops: I"m sorry, my English skills and computer skills aren´t good enough...

aI("text=Open Google in IFrame;url=javascript:openIFrame('tempiframe,'http://www.google.com'")
Where do I exactly place that??
And which parts of the codes do I have to replace with my own iframe names etc.

Thnx a lot, I ...
by Theme
Fri Apr 15, 2005 2:32 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Targeting to iframe
Replies: 8
Views: 4549

Targeting to iframe

Hi,

if i want my links to open in iframe, how do I do that. Iframe is named as iframe.

Another question is about links. Do I put the complete url, http://www.mydomain.com/gallery.html or just /gallery.html