fledermaus
asked on
Popup Window
Hi there,
can someone please tell me how to set the attributes of a popup window? With attributes, I mean:
- the size of the window
- which toolbars should be visible
- ...
The goal is to make a popup window which shows a description of a word. This popup window doesn't need a toolbar/buttons except for a 'close this window' button.
tnx in advance,
fledermaus
can someone please tell me how to set the attributes of a popup window? With attributes, I mean:
- the size of the window
- which toolbars should be visible
- ...
The goal is to make a popup window which shows a description of a word. This popup window doesn't need a toolbar/buttons except for a 'close this window' button.
tnx in advance,
fledermaus
Since you are asking in the Dreamweaver section I guess you want a Dreamweaver answer to this :-)
There is an extension in DW that does all you ask for. You can set wich toolbar/buttons to show, where the pop-up is positioned and even an autmatic closing of the pop-up window if you want.
The extension, which is free , can be found on macromomedias dreamweaver exchange:
http://www.macromedia.com/exchange/dreamweaver/ and search for 'justso'. This will give you a link to the page where you can download the extension.
Good Luck! :-)
--
klykken
There is an extension in DW that does all you ask for. You can set wich toolbar/buttons to show, where the pop-up is positioned and even an autmatic closing of the pop-up window if you want.
The extension, which is free , can be found on macromomedias dreamweaver exchange:
http://www.macromedia.com/exchange/dreamweaver/ and search for 'justso'. This will give you a link to the page where you can download the extension.
Good Luck! :-)
--
klykken
Just cut and paste the below code and change as per your requirement
<html>
<head>
<title>Untitled Document</title>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,win Name,featu res) { // v2.o
window.open(theURL,winName ,features) ;
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<a href="#" onClick="MM_openBrWindow(' http://www.hotmail.com','name','scrollbars=yes,width=550,height=400')">CLICK HERE</a>
</body>
</html>
<html>
<head>
<title>Untitled Document</title>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,win
window.open(theURL,winName
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<a href="#" onClick="MM_openBrWindow('
</body>
</html>
ASKER
Hi klykken, only one question left: the solution you provided seems to be ok, except for one thing: it says onmouseOVER and I really need onmouseClick or something like that: can you tell me how I can change the onmouseover behaviour, if possible. Tnx in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi, tnx for your quick comment but...
If I click on the arrow, the only choice I can make is... onmouseover. I looked it up and when I change the onmouseover into onclick using the html editor, then it shows onclick and it works.
I have no idea why it ain't showing more events when clicking the downarrow. But anyhow: my question is answered.
If someone might know the solution for the fact that I don't get other events when clicking the downarrow... Just let me know...
michaelleke@michaelleke.co m
If I click on the arrow, the only choice I can make is... onmouseover. I looked it up and when I change the onmouseover into onclick using the html editor, then it shows onclick and it works.
I have no idea why it ain't showing more events when clicking the downarrow. But anyhow: my question is answered.
If someone might know the solution for the fact that I don't get other events when clicking the downarrow... Just let me know...
michaelleke@michaelleke.co
fledermaus,
I think i know why..
in the behaviours menu, on top it says: Events for:
change this to 4.0 and later browsers.
Now you'll be able to choose from a lot of javascript events
--
klykken
I think i know why..
in the behaviours menu, on top it says: Events for:
change this to 4.0 and later browsers.
Now you'll be able to choose from a lot of javascript events
--
klykken
ASKER
ok, that's it: thank you very much !! I will learn a bit more about behaviors and Dreamweaver so I don't have to annoy you anymore ;-)
TNX !!
TNX !!
main page
---------
<head>
<title>yourPage</title>
<script language="JavaScript">
<!--
function passpop(){
window.open("yourHtmlPage.
}
//-->
</script>
</head>
<body>
<a href="javascript:passpop()
</body>
</html>
popup page
----------
<head>
<title>popupPage</title>
<script language="JavaScript">
<!--
function closepop(){
window.close()
//-->
</script>
</head>
<body>
<a href="javascript:closepop(
</body>
</html>