Javascript problem/question

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.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 6th, 2006, 22:03
New Member
Join Date: May 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote

Reply

Tags
javascript, problemquestion

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 22:36.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43