Jump to content

links in a .js file


big-dog1965

Recommended Posts

How do I get this to work

the top link is what I want to do the 2nd works but in a whole new page

I want it in my frame as the top one indicates

NOTE if the top one is left in the whole thing bombs out and no links show up at all

Code: [select]function toprightmenu()

{

retVal =

"<a target=\"mainframe"href=\"../forms/Contest/contest.html\">Win My Windows</a><br> " +

"<a href=\"forms/Contest/contest.html\">Win My Windows</a><br> " +

"<a href=\"http\">Some Other Link</a><br> " +

"<a href=\"http\">Some Other Link</a>";

 

return retVal;

}

Link to comment
Share on other sites

Didnt seem to work with this in the .js file there are not any linking words on page at all. If I delete this porsion out of code the other stuff much like this shows the linking words. so something I would expect in this is killing everything.

function toprightmenu()
{
  retVal =
"<a target=\"mainframe\" href=\"../forms/Contest/contest.html\">Win My Windows</a><br> " +
"<a target=\"mainframe\" href=\"../forms/EmploymentApplication/employerapp.html\">Employment</a><br> " +
"<a target=\"mainframe\" href=\"../forms/GeneralInquiries/generalinquiries.html\">General Iquieres</a><br> " +
"<a target=\"mainframe\" href=\"../forms/ServiceRrequest/servicerrequest.html\">Service Request</a><br> " +
"<a target=\"mainframe\" href=\"../forms/estimate/estimates.html\">Esitimates</a><br> " +";

  return retVal;
}

Here is a couple retval that show the links on page but dont go any where do to no link in code, but the linking words show on page

function midleftmenu()
{
  retVal =
    "<a href=\"http\">Manufacture Link</a><br> " +
    "<a href=\"http\">Manufacture Link</a><br> " +
    "<a href=\"http\">Manufacture Link</a>";

  return retVal;
}


function midrightmenu()
{
  retVal =
    "<a href=\"http\">Some Other Link</a><br> " +
    "<a href=\"http\">Some Other Link</a><br> " +
    "<a href=\"http\">Some Other Link</a>";

  return retVal;
}

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.