View Full Version : Pop-up text link thing


Nicole18
04-07-2003, 05:48 PM
Hey

I hope someone can help me.
I would like to know how i can make a pop-up but not using a button or a picture but just a simple text link......
i saw it on the site http://www.lissaexplains.com/java4.shtml
but i don't really understand how to do it.

i need it for this
http://members.lycos.nl/rupertmichealgrint/beasts.html
as u can see i have links but they open in main , but i just want a little popup window to show the pic.

if someone could please give me code i need , i would be very happy.

thanks in advance,
Nicole.

epolady
04-07-2003, 06:07 PM
I'm not sure what's not to understand? The coding is there, it's merely copy and paste.

Paste and edit

<script language="javascript">
//<!--
function popup()
{ window.open ("YourURLgoesHere.html","popup","width=400,height=400,location=0,menubar=0,resizabl e=0,scrollbars=0,status=0,titlebar=1,toolbar=0") }
-->
</script>


and use

<a href="javascript:popup()">Click here for popup window"</a>

to pop the window.....

Nicole18
04-07-2003, 06:58 PM
Ok sorry, but i don't know Anything(!!!) about HTML/java.
That's why i love lissaexplains cos it helps me make a nice site.

But it still doesn't work.........i know i'm doing something wrong , but i do not know what.

Love,
Nicole.

Nicole18
04-07-2003, 07:17 PM
i got it............

thnx.

epolady
04-07-2003, 07:18 PM
<edit>
okay