Is it possible to add a url/href to the MM_swapImage funtion?

I have a bit of code I created in Dreamweaver CS3 about 3 years ago that I am revisiting/updating. It has a simple html picture gallery that uses the MM_swapImage function with the onclick command. Basically, there are a few thumbnails with a larger picture on the left. When a thumbnail is clicked, the larger image on the left changes. I'd love to add a link to the new larger image, but I can't think of a way to make this possible using this code. It isn't too important but if anyone has any ideas, I'd love to hear them.
Here is the code:
HEADER:
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
BODY:
<img src="../images/THUMBNAIL.jpg" width="73" height="98" title="TITLE" onclick="MM_swapImage('li1','','../images/NEW_IMAGE.jpg',1)" />
In that code, the 'li1' is the image that gets replaced and the 'NEW_IMAGE.jpg' is the one I'd like to have a url/href attached to.

Also, and I'd imagine the technique would be similar, would it be possible to add a title attribute to the new image?

Similar Messages

  • Is it possible to insert a url link into the itunes description tag. I want the user to be able to access my webpage from within itunes

    Hi,
    Is it possible to insert a url link into the itunes description tag in a feed. I want the user to be able to access my webpage from within itunes
    Thanks

    In the next release, we will be making adding our Measurement Studio components to existing projects much easier, but for now what you would need to do is add the support for Measurement Studio to your MFC project manually as detailed in our Knowledgbase at:
    http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/0cb6707522e92c958625689e0052bb77?OpenDocument
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to him.

    In contacts there is the possibility to add a new event, as the birthdays, but they do not appear in iCal. Is there any way to make that possible? It is normal to have a person with his birthday, anniversary and others key dates you want to link to such person, but the only one shows up is the birthday. How to be able to show all those dates linked to people in the agenda in the iCal?
    Thanks

    Hi,
    I sugggest you try my application, Dates to iCal. It is shareware with a 2 week trial period.
    Dates to iCal 2 is a replacement for Apple's birthday calendar for iCal. It has a range of features to allow the user to choose what, and what not, to sync to iCal from Address Book.
    As well as automatically syncing birthday dates from Address Book, Dates to iCal 2 can sync anniversary and custom dates. It can set up to five alarms for each date in iCal and can also set different alarms for birthdays and anniversaries. It allows the option of only syncing from one Address Book group. This application also allows for the titles of the events sent to iCal to be modified to the user's preference.
    Best wishes
    John M
    As I sell software on my site and ask for donations, the Apple Support Communities Use Agreement requires that I state that I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Is it possible to add a signature box on the bottom of forms?

    is it possible to add a signature box on the bottom of forms?
    We have a customer who is thinking of using forms, but needs a signature box to be included in the form is this something that can be added?

    Hi,
    Unfortunately, Adobe FormsCentral does not have an option to add signatures.
    In order to distribute forms requesting signatures, you may use the following Adobe products:-
    Adobe Acrobat:- PDF creator, edit PDF | Adobe Acrobat XI
    Adobe EchoSign:- Electronic Signature Software, Digital Signatures | Adobe EchoSign
    Regards,
    Nakul

  • Is it possible to add new screen fields to the transaction /dsd/sl_cockpit

    HI experts,
          Would like to know if it is possible to add new screen fields to the cloned version of /dsd/sl_cockpit.
          I cloned the original transaction /dsd/sl_cockpit into a diff. name, now I want to know how I can include/ add those new fields to this transaction.  It looks like the screen is dynamically built using Standard ABAP classes. Need help.
    Thanks in advance

    it is not possible to add new fields via badi on /dsd/sl_cockpit.

  • Is it possible to add a clickable link to the presentation area of a category

    Is it possible to add a clickable link to the presentation area of a category
    Websphere 61
    Oracle 10g
    RequestCenter 2008.3 SP4
    Ie 6
    Hi:
    I am trying to add a clickable link to open a web page.  I would like it to be visible on the presentation area (top) of the "Consumer Service Catalog".   I can make the button, but when clicked nothing happens.  I have tried several of the button commands like onclick, but then I get a js error.
    Thank you
    Daniel
    Safeway Inc.

    Yes. You can use html tags in the presentation area ot the  <b>Consumer Services</b> display category

  • Is it possible to add own JSP tags to the palette?

    Is it possible to add own JSP tags to the palette?
    Currently we are using other JSP tag library like Coldbeans, Display Tag Lib, and JSF tags like ourFaces, etc.
    And we have few own JSF tags and it would be good to keep them in JSC.

    http://www.youtube.com/watch?v=aKxw4_gv2vE
    DISCLAIMER: I haven't tried this myself, but I've seen it posted before.
    Matt

  • HT3281 Hi, I'm using my Ipad 2 trying to get Dance Department's podcast onto my itunes, I already paid the money(bought it on the website) they sent me a link, saying I should copy that link into my Itunes. Advanced add podcast url. but on the Ipad where

    Hi, I'm using my Ipad 2 trying to get Dance Department's podcast onto my itunes, I already paid the money(bought it on the website) they sent me a link, saying I should copy that link into my Itunes. Advanced>add podcast url. but on the Ipad where do I go?

    You don't do it on your iPad. You do it on iTunes on your computer. You might, I suppose, on you iPad, try using an app like Instacast or Downcast. They might also work.

  • Is it possible to add spaces between icons in the dock on Mountain Lion

    Is it possible to add spaces between icons in the dock on Mountain Lion to seperate into groups of applications?
    thanks

    http://www.youtube.com/watch?v=aKxw4_gv2vE
    DISCLAIMER: I haven't tried this myself, but I've seen it posted before.
    Matt

  • Is it possible to add a graphics card to the back of my HP

    Hello  I want to know if it's possible to add a new graphics card to the back of a Laptop not inside of it but on the back of my laptop ???  my graphics Card is a Intel 4000 graphics card is a terrible for gaming TERRIBLE !!!  

    Not sure where it would go on the back, but no the system is closed. There is no place to insert a graphics card or attach it. You will find some hokey stuff on the internet where people say you can plug a video card in the wireless card slot but those are a hoax at worst and at best they do not tell you that such a thing would not even perform as well as what you have and is likely to damage the motherboard. 

  • Is it possible to add value date field in the debit entry?

    Hi gurus,
    I'm an abapper and struggling to be an FI consultant since I have no one to consult with. Here's my issue:
    I want to add the Value Date field in a GL acct debit entry. I used optional in Field status group. It doesn't appear unless if I change the posting key to credit. But if I change it to required entry, an error appears " Rules for posting key 40 and acct 115-30-002 set incorrectly for "VALUT" field . Did I miss anything? As much as possible, I don't want to use the other GL Account (a credit entry) since I dont need it in the program flow.
    Need an expert explanation on this. Sorry I only have limited knowlege with regards to FI concepts.

    Hi
    Feild status at entry time looks for the following combination
    S- Supressed
    D- Display
    R- Required
    O- Optional
    System looks for this above combination at first in Posting Key and then in FSV of account which we enter. For this partical purpose the the feilds in posting key are kept optional.
    Check the feild status of posting key & account T-code FBKP.
    thanks
    Colin Thomas

  • Is it possible to add a new value to the presence indicator in addition to Available, Appear Away, etc.

    Is it possible to add custom options to Lync 2013 Client status?
    Example: Add "Out to lunch"  and presence indicator yellow
    or "Busy helping client" show red

    Check this article:
    https://technet.microsoft.com/en-us/library/gg398997.aspx

  • Is it possible to add word or dictionaries to the Dictionary application?

    I would like to add some frequently used words from an ancient Indian language to the Dictionary application so that typos could be automatically corrected. Is it possible to add words or complete dictionaries to the Dictionary application?

    Hi philfromcolumbia,
    When the spell checker picks up the word as a mis-spelling and underlines it in red, Ctrl-Click it and select Learn Spelling.
    You can also add complete dictionaries, but I'm not sure how they are created.
    Best wishes
    John M

  • Is it possible to add a single file to the Favorites list in a finder window?

    I can add a folder, OK, but can't figure out how to add a single file to the favorites list. Is there a way?

    Never mind, I just found the answer in another post: hold down the command key

  • Is it possible to add a "prior" year after the application is deployed?

    Hi expert,
    We have created and deployed a HP application (EPMA, version 11.1.2.1), but find out that we need to add another year before the first year we have right now, e.g. currently we set the "start year" as FY10 and find out that we need to add FY09 to the application. Is it possible to do? Please kindly help!
    Thanks!

    Without hacking which is not supported and not advisable then the answer if no, the cleanest way is to export everything out with LCM, recreate the planning app, import.
    Cheers
    John
    http://john-goodwin.blogspot.com/

Maybe you are looking for

  • Goods Receipt Collective Slip for Mat Doc is not printing

    HI All, I have a strange issues. I'm trying to print collective slip for Goods Receipt which is created against of PO. I able to print Individual Slip when i create GR(Mat Doc) against PO with movement type 101. But I'm not able to print the Collecti

  • Load Balancing, Server and / or Client ?

    Hi I am experiencing a problem with the connection pooling in odp.net. I have a simple test app that creates a connection, executes a query, populates an object then closes the connection. I have found that when I have client side load balancing on v

  • Help finding files for SSO

    Hi everyone, We're trying to setup SSO at my company using this article (we're on Apex 3.1.2): http://www.oracle.com/technology/products/database/application_express/howtos/sso_partner_app.html Everything is going smoothly so far, but we're now caugh

  • 802.1x Authentication Procedures

    Hi, I am sure this has been asked many times here, but couldn't find any consolidated answers for this question: - How many 802.1x authentication methods are there? And along with the Name of each, can somebody also tell the advantageof deploying the

  • Problem with dot notation in wsdl-file

    Hello, I want to consume a soap web service that is created in the sap system within a ios app. I am generating the stub files with sudzc. Unfortunately sudzc is making classes with a dot in its name. This is caused by the wsdl-file: <wsdl:types> <xs