Shoutbox

Can't think of a title so just read! :P - 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: Can't think of a title so just read! :P (/showthread.php?tid=50218)

Can't think of a title so just read! :P by ayjay on 09-08-2005 at 03:30 PM

Fair afternoon to thee.

I was just wondering if to have an input jobby which you can type an address into then have it open in an iframe on the same page it would have to be PHP or if I could use HTML.

Danke!

BTW, I don't want any posh interface type jobby, just a good old ugly box :D


RE: Can't think of a title so just read! :P by L. Coyote on 09-08-2005 at 03:51 PM

Here is something in plain HTML with a bit of JavaScript. Just tested in FF and works fine.

(If I understood you correctly :tongue:)

code:
<html>
<body>
<form name="form1" target="ifr">
<input type="text" name="surl" size="40" /><br />
<input type="button" value="Open" onClick="document.getElementById('ifr').src=document.form1.surl.value" /></form>
<iframe id="ifr" width="100%" height="100%" frameborder="1"></iframe>
</body>
</html>

RE: Can't think of a title so just read! :P by KeyStorm on 09-08-2005 at 03:54 PM

May it be... Cosmo Framer.?

Edit: yes, the old and mighty.


RE: Can't think of a title so just read! :P by ayjay on 09-08-2005 at 04:12 PM

quote:
Originally posted by Leo
Here is something in plain HTML with a bit of JavaScript. Just tested in FF and works fine...

Perfect :D

Thanks :)

(btw keystorm, thanks but i was aiming to make one, not use an existing one :))