Shoutbox

Html help - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Html help (/showthread.php?tid=45524)

Html help by absorbation on 05-30-2005 at 06:36 PM

Ok i know my stuff, but it drives me mad this iframe :@ I can make them and i can target frame then normally but this one :'( Look at the page sorce and someone please tell me how to target frame my navi buttons (they are images which rollover) to go into the iframe. Please someone help i've tryed everything :(


RE: Html help by Tochjo on 05-30-2005 at 06:38 PM

Did you forget to mention a link/code? I checked your web site, but couldn't find anything related to this there.


RE: Html help by Yousef on 05-30-2005 at 06:40 PM

You should prevent using frames.
See google
Regarding to the buttons, I don't see 'target=' anywhere...


RE: Html help by absorbation on 05-30-2005 at 06:42 PM

so sorry http://www.msgstuff.com/test.html i've tryed target="iframe" after the link :p


RE: Html help by Zephyr on 05-30-2005 at 06:47 PM

Sorry, but what frames are you trying to target to?


RE: Html help by absorbation on 05-30-2005 at 06:49 PM

the frame is in the middle and a want the buttons on the side to link to it :)


RE: Html help by Tochjo on 05-30-2005 at 06:52 PM

You should use the name="iframe" in the IFRAME tag and the target="iframe" in the A tag. This way the IFRAME will have a name so it can be identified and the link knows where it should open in :)

quote:
Originally posted by Absorbation
i've tryed target="iframe" after the link
Then use name="iframe" in the IFRAME tag ;)

Simply look here or Google for more info related to 'target frames links how to' (and stuff like that) :)
RE: Html help by Zephyr on 05-30-2005 at 06:54 PM

Your frame needs to have a name so you can target to it.

eg. insde the frame tag

name="frame name"

then you can use target="frame name" in your link.

<iframe name="frame name" SRC="home.php" WIDTH=800 HEIGHT=697 ALT="" frameborder="no"></iframe>

<A HREF="index.html" target="frame name"
                ONMOUSEOVER="changeImages('Home', 'images/homerollover.gif', 'Gallery', 'images/messengertools.gif'); return true;"
                ONMOUSEOUT="changeImages('Home', 'images/home.gif', 'Gallery', 'images/messengertools.gif'); return true;">
                <IMG NAME="Home" SRC="images/Home.gif" WIDTH=106 HEIGHT=40 BORDER=0 ALT=""></A>


RE: Html help by absorbation on 05-30-2005 at 07:00 PM

Just tryed that and still does'nt work i've uploaded so you can see :(


RE: Html help by Zephyr on 05-30-2005 at 07:07 PM

quote:
Originally posted by Absorbation
Just tryed that and still does'nt work i've uploaded so you can see :(

You haven't given the iframe a name in this line:

code:
<iframe SRC="images/iframe.gif" WIDTH=800 HEIGHT=697 ALT="" frameborder="no"></iframe>

It needs to be:

code:
<iframe name="frame name" SRC="home.php" WIDTH=800 HEIGHT=697 ALT="" frameborder="no"></iframe>

as i said above.

You then need to have target="frame name" inside the <a> tags you wish to appear in the frame.

RE: Html help by Plik on 05-30-2005 at 07:16 PM

Only one link has a target value set atm, and that value is wroung

code:
target="name="iframe
should be
code:
target="iframe"

RE: Html help by absorbation on 05-30-2005 at 07:20 PM

It works thanks monster.rat :D Thread can be closed now :P


RE: Html help by RaceProUK on 05-30-2005 at 08:31 PM

Doesn't work for me: I get 404 errors for every link. Plus you still need to fix the rollovers.


RE: Html help by absorbation on 05-30-2005 at 08:44 PM

quote:
Originally posted by raceprouk
Doesn't work for me: I get 404 errors for every link. Plus you still need to fix the rollovers.

lol i've only got one link at the bottom which says contact ;)
RE: Html help by RaceProUK on 05-31-2005 at 07:35 AM

Hmm... it seems to be working fine now.