View Single Post
  #3  
Old 07-27-2011, 03:02 PM
kieronf
Guest
 
Posts: n/a
Default Still confused

I am very much a novice at this so a little more help would be appreciated. Am I right that I have to replace the existing code in the js/main with -

function showPage(pageURL,button_id) {
if (pageURL.substring(0,4).toLowerCase()=='http') {
window.open(pageURL, '_blank');
return;
};
hideContent(pageURL);
if (selected_button!="" && button_id!=selected_button) {
sendToASUnselectButton('anim_'+selected_button);
}
selected_button = button_id;
}

If so, where ecactly would i insert my target URL, would i insert it where it says (pageURL)

Also, this is the existing code for the menu buttons -

<script type="text/javascript">myButton('EVENTS','_events.htm');</script>

how do i change that to point to my external URL

Hope this doesn't seem too dumb.

many thanks