This is a discussion on "Javascript problem/question" within the JavaScript Forum section. This forum, and the thread "Javascript problem/question are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Javascript problem/question
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Javascript problem/question
Hello. I need help with something i am designing.
First off my script is a dragable layers script... [script] <script type="text/javascript"> createDragableLayer( '<a onmouseout=MM_swapImgRestore("sun","","../sun.jpg",0) onmouseover=MM_swapImage("sun","","../sun.jpg",0) ondblclick="______"><img src="../mr smith.jpg" name="sun" alt="" width="117" height="94" border="0" id="sun"></a>', 350, 149, 'drag_sun') [/script] but on double click i want it to go to a popup window script. I am trying to do something like an OS simulation: [script] <script language="javascript"> window.onload=function(){ // welcome new popUp(200, 200, 370, 175, "Welcome!", "New Message Here", "#00385c", "lightgrey", "9pt sans-serif", "Welcome!", "silver", "lightgrey", "gray", "black", "black", true, true, true, true, false, false,'min.gif','max.gif','close.gif','resize.gif' ); } </script> [/script] Those are just the script to put the items there. If you need the main script let me know. How do i do this double click thing? |
|
|
![]() |
| Tags |
| javascript, problemquestion |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Javascript expanding box problem | kendalbren | JavaScript Forum | 1 | May 30th, 2008 13:03 |
| problem with JavaScript and JSP | pesho318i | JavaScript Forum | 0 | Jan 23rd, 2008 18:04 |
| Javascript Question | russb | JavaScript Forum | 1 | Jul 22nd, 2007 01:42 |
| Javascript problem | zc1 | JavaScript Forum | 2 | Jan 15th, 2007 17:01 |
| Hello and question: Javascript, Perl or PHP? | masonbarge | Introduce Yourself | 9 | Mar 1st, 2006 08:21 |