JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 4th, 2004, 05:47 PM
ciobitud ciobitud is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 ciobitud User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
.js files...

I have some problems with a .js file...

I have the fallwoing code I have to insert into a .js file, if anyone could help me out it would be great!

Quote:
<table><tr>
<td width="632" >

<!-- Tabel pentru banner principal -->

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="747" height="126" valign="top"><!-- ImageReady Slices (banner-up.psd) -->
<TABLE WIDTH=747 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD COLSPAN=7>
<IMG SRC="images/banner-up_01.jpg" WIDTH=747 HEIGHT=5 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=2 ROWSPAN=4>
<IMG SRC="images/banner-up_02.jpg" WIDTH=252 HEIGHT=90 ALT=""></TD>
<TD COLSPAN=3>
<A HREF="#"
ONMOUSEOVER="changeImages('banner_up_03', 'images/banner-up_03-over.gif'); return true;"
ONMOUSEOUT="changeImages('banner_up_03', 'images/banner-up_03.gif'); return true;">

<IMG NAME="banner_up_03" SRC="images/banner-up_03.gif" WIDTH=85 HEIGHT=23 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=2 ROWSPAN=2>
<IMG SRC="images/banner-up_04.jpg" WIDTH=410 HEIGHT=49 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="images/banner-up_05.jpg" WIDTH=85 HEIGHT=26 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=2>
<IMG SRC="images/banner-up_06.jpg" WIDTH=24 HEIGHT=41 ALT=""></TD>
<TD COLSPAN=3>
<A HREF="#"
ONMOUSEOVER="changeImages('banner_up_07', 'images/banner-up_07-over.gif'); return true;"
ONMOUSEOUT="changeImages('banner_up_07', 'images/banner-up_07.gif'); return true;">

<IMG NAME="banner_up_07" SRC="images/banner-up_07.gif" WIDTH=77 HEIGHT=22 BORDER=0 ALT=""></A></TD>
<TD ROWSPAN=4>
<IMG SRC="images/banner-up_08.jpg" WIDTH=394 HEIGHT=71 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="images/banner-up_09.jpg" WIDTH=77 HEIGHT=19 ALT=""></TD>
</TR>
<TR>
<TD ROWSPAN=2>
<IMG SRC="images/banner-up_10.jpg" WIDTH=211 HEIGHT=30 ALT=""></TD>
<TD COLSPAN=3>
<A HREF="#"
ONMOUSEOVER="changeImages('banner_up_11', 'images/banner-up_11-over.gif'); return true;"
ONMOUSEOUT="changeImages('banner_up_11', 'images/banner-up_11.gif'); return true;">

<IMG NAME="banner_up_11" SRC="images/banner-up_11.gif" WIDTH=69 HEIGHT=23 BORDER=0 ALT=""></A></TD>
<TD COLSPAN=2 ROWSPAN=2>
<IMG SRC="images/banner-up_12.jpg" WIDTH=73 HEIGHT=30 ALT=""></TD>
</TR>
<TR>
<TD COLSPAN=3>
<IMG SRC="images/banner-up_13.jpg" WIDTH=69 HEIGHT=7 ALT=""></TD>
</TR>
<TR>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=211 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=41 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=24 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=4 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=57 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=16 HEIGHT=1 ALT=""></TD>
<TD>
<IMG SRC="images/spacer.gif" WIDTH=394 HEIGHT=1 ALT=""></TD>
</TR>
</TABLE>

<!-- Sfarsit tabel pentru banner principal -->

</td> </tr>
<tr><td height="18">

<!-- Inceput tabel pentru meniu -->

<table width="747" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td height="18" colspan="5" valign="top" background=menu_images/bg.gif bgcolor=#CBCBEF><nobr><a href=javascript:; onclick=s_show('search',event) onmouseover=s_show('search_tip',event) onmouseout=s_hide()><img src=menu_images/1.gif border=0 height=14></a><img src=menu_images/s.gif height=14><a href=javascript:; onclick=s_show('e_mail',event) onmouseover=s_show('e_mail_tip',event) onmouseout=s_hide()><img src=menu_images/2.gif border=0 height=14></a><img src=menu_images/s.gif height=14><a href=javascript:; onclick=s_show('masters',event) onmouseover=s_show('masters_tip',event) onmouseout=s_hide()><img src=menu_images/3.gif border=0 height=14></a><img src=menu_images/s.gif height=14><a href=javascript:; onclick=s_show('sports',event) onmouseover=s_show('sports_tip',event) onmouseout=s_hide()><img src=menu_images/4.gif height=14 border=0></a><img src=menu_images/s.gif height=14><a href=javascript:; onclick=s_show('sports2',event) onmouseover=s_show('sports2_tip',event) onmouseout=s_hide()><img src=menu_images/5.gif height=14 border=0></a><img src=menu_images/s.gif height=14><a href=javascript:; onclick=s_show('sports3',event) onmouseover=s_show('sports3_tip',event) onmouseout=s_hide()><img src=menu_images/6.gif height=14 border=0></a></nobr></td>
<td width="55" align=right valign=bottom background=menu_images/bg.gif bgcolor=#CBCBEF><a href=javascript:; onclick=s_show('my_menu',event) onmouseover=s_show('author',event) onmouseout=s_hide()><img src=menu_images/help.gif height=14 border=0></a></td>

</tr>
</table>

<!-- Sfarsit tabel pentru meniu -->

</td>
</tr></table>


I need to insert this into a .js file that already has some javascript in it and I am able to insert the html code above but none of the javascript in it seems to work (even if the pictures show correctly)... The java script that won't work is the bold one.

Thank you!

Reply With Quote
  #2  
Old January 4th, 2004, 06:29 PM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
What do you mean by "doesn't work"? What exactly isn't working, and what is supposed to happen?

Reply With Quote
  #3  
Old January 4th, 2004, 07:58 PM
MadCowDzz's Avatar
MadCowDzz MadCowDzz is offline
I'm Internet Famous
Dev Articles Frequenter (2500 - 2999 posts)
 
Join Date: Jan 2003
Location: Toronto, Canada
Posts: 2,886 MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level)MadCowDzz User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Week 16 h 19 m 35 sec
Reputation Power: 18
where's the javascript?

i see event calls, but no script...

perhaps you're missing the include/import line?
<script type="text/javascript" src="myscript.js "></script>

Reply With Quote
  #4  
Old January 5th, 2004, 02:58 PM
ciobitud ciobitud is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 ciobitud User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you for your response!

That was the problem, the script! Now everything works fine!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > .js files...


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap