This is a discussion on "Need help combining 2 Javascripts" within the JavaScript Forum section. This forum, and the thread "Need help combining 2 Javascripts are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Need help combining 2 Javascripts
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Need help combining 2 Javascripts
I have to scripts (both in javascript) that need combining. One of them is a popup script and the other is a keycode script. So when there done being combined what has to happen is when you hit the 'alt' key it opens a popup. I'm not sure quite how to do this so any help would be greatly appreciated!
First script (key code):
|
|
|
|
||||
|
Re: Need help combining 2 Javascripts
In the first script you need to call the function out of the second script and pass it the url of the window you want opened. Like so:
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
|
|||
|
Re: Need help combining 2 Javascripts
thanks!! worked perfectly!!
|
|
||||
|
Re: Need help combining 2 Javascripts
no problem
Last Blog Entry: 10 Reasons Why My Laptop Is Better Than Your Girlfriend (Dec 15th, 2007)
|
![]() |
| Tags |
| javascript, key, key code, keycode, popup |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Are JavaScripts SEO Friendly? | maneetpuri | Search Engine Optimization (SEO) | 4 | Jan 16th, 2008 20:16 |
| Over 2.000+ free JavaScripts | temp | Starting Out | 0 | Sep 5th, 2007 17:37 |
| Help in combining two scripts | jonnymorris | JavaScript Forum | 7 | Jul 28th, 2007 15:20 |
| Integrate Javascripts with toolbars | JohnBT | JavaScript Forum | 7 | Jun 18th, 2007 23:00 |
| Combining fixed and relative widths | hessodreamy | Web Page Design | 5 | Feb 10th, 2006 13:14 |