View Single Post
  #1  
Old 11-04-2006, 10:04 PM
 
w3designstudios w3designstudios is offline
 

Member
  
Join Date: Jun 2005
Location: Frederick, MD
Posts: 17
 

Default Adding a Preload Images onload call to the existing Code

Alright, I'm beating my head against a wall here. All I want to do is add an "onload" to the <head> tag but I'm drawing a blank.

Code:
<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}>

I am trying to add the following into the above:
Code:
onLoad="MM_preloadImages('images/rotors_left_f2.jpg','images/brakepads_left_f2.jpg','images/contactus_left_f2.jpg','images/home_left_f2.jpg');

Could anyone provide any insight into this? I can't for the life of me figure out where the $body_onload is coming from?
__________________
Russ Williams
Primary Consultant

W3 Design Studios
X-Cart Gold 4.4.1
Reply With Quote