Skip navigation
Currently Being Moderated

GoLive Javascript question

Nov 28, 2011 8:17 AM

I have some existing code from their previous web coder and wondered on the code below, how can i make some of these links open in a new window?

Is this Javascript used specifically from GoLive?

thakns for any help! 

 

<script type="text/javascript">

<!--

CSAct[/*CMP*/ 'C2B3FE26189'] = new Array(CSGotoLink,/*URL*/ 'main.html','');

CSAct[/*CMP*/ 'C2B3FE26190'] = new Array(CSGotoLink,/*URL*/ tour/Tour.html','');

CSAct[/*CMP*/ 'C2B3FE26191'] = new Array(CSGotoLink,/*URL*/ 'members/index.html','');

CSAct[/*CMP*/ 'C2B3FE26195'] = new Array(CSGotoLink,/*URL*/ 'Join.html','');

CSAct[/*CMP*/ 'C2B3FE26196'] = new Array(CSGotoLink,/*URL*/ 'FAQs.html','');

CSAct[/*CMP*/ 'C2B3FE26197'] = new Array(CSGotoLink,/*URL*/ 'links.html','');

CSAct[/*CMP*/ 'C2B3FE26198'] = new Array(CSGotoLink,/*URL*/ 'Contact.html','');

CSAct[/*CMP*/ 'C2B3FE26199'] = new Array(CSGotoLink,/*URL*/ 'webmasters.html','');

 
Replies
  • Currently Being Moderated
    Nov 28, 2011 10:33 AM   in reply to jgcalifornia

    This is automatically generated by GoLive, not your "previous web coder".  A web developer would make it more coherent.

     

    In GoLive, edit each link and set a target of "_blank" to open in a new window.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 28, 2011 12:23 PM   in reply to jgcalifornia

    You should be able to select a link in design view and add a target of "_blank". There should be no need to edit the javascript directly in source view.

     
    |
    Mark as:
  • Currently Being Moderated
    Nov 28, 2011 2:23 PM   in reply to jgcalifornia

    I may be new to GoLive. How are you observing HTML in Layout view? It should be hidden.

     

    Look at the "Inspector" palette. Set the target there.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points