test
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • qwerty Friend
    #119655

    Hi,

    I am using the following code to create the spotlight module in JA Villadi

    <script type=”text/javascript”>
    od_displayImage(‘your-image-ID’, ‘full-path-to-your-image-(without-the-dot-png-extension)’, width, height, ”, ”);
    </script>

    Now what code do I need to put in (and exactly where) if I wanted to hyperlink the image?

    Thanks in advance

    ErikThorsen Friend
    #217858

    Out of curiosity, why would you want to use javascript to show an image there??? Why don’t you just create a new module, add an image and a hyperlink to the image from there??

    qwerty Friend
    #217861

    Hi Erik,

    Good question. I know I could have done that but then I read the template guide that came with the JA Villadi template…and it said the following

    Spotlight Modules
    To set up 3 eye-catching modules with transparent images compatible with all browsers (including IE6 – The PNG Destroyer) in spotlight area, you have to put this into your modules’ content

    <script type=”text/javascript”>
    od_displayImage(‘your-image-ID’, ‘full-path-to-your-image-(without-the-dot-png-extension)’, width, height, ”, ”);
    </script>

    and this was quiet true….when i inserted the images directly into modules (without the above mentioned script), IE showed it all weird (transparency was removed)…..when I used the above script, the image showed up nicely (blends with the background) in IE as well as firefox

    qwerty Friend
    #217865

    found the solution…just needed to add <a href=”[link here]”> before <script type=”text/javascript”>

    ErikThorsen Friend
    #217868

    Ok, well, guess I haven’t read the user guide too thorough then. LOL

    Yes, you only need to add the a href. Perhaps should have mentioned that in my post but wasn’t sure why you used this. I see now that it is related to the image transparency. Well done!

    ShannonN Friend
    #217883

    qwerty;12570Hi,

    I am using the following code to create the spotlight module in JA Villadi

    <script type=”text/javascript”>
    od_displayImage(‘your-image-ID’, ‘full-path-to-your-image-(without-the-dot-png-extension)’, width, height, ”, ”);
    </script>

    Now what code do I need to put in (and exactly where) if I wanted to hyperlink the image?

    Thanks in advance

    Quick question as an ‘unlicensed member’ ( according to details’ how did you get teh members template? 😉

    ShannonN

    qwerty Friend
    #218410

    was a bday present

    ShannonN Friend
    #218421

    qwerty;13266was a bday present

    Lucky you, Happy Birthday! Best to find out from the ppl who brought it the user name etc and login as a member? That way you’ll get all the benefits of the private forums with heaps more Q&A and a better chance to contribute

    Welcome aboard

    Cheers ShannonN

    hplanet Friend
    #220730

    I am trying to get ja_villadi and I would like to get the Spotlight modules setup.

    The user guide reads:
    <script type=”text/javascript”>
    od_displayImage(‘plain_right’, ‘http://www.joomlart.com/template/ja_villadi/images/stories/demo/plain_right’, 200, 114, ”, ”);
    </script>

    I do this, but direct it to my image and It still won’t display. It removes the “<script>” tags.

    Thanks,
    z

    ShannonN Friend
    #220734

    hplanet;16337I am trying to get ja_villadi and I would like to get the Spotlight modules setup.

    The user guide reads:
    <script type=”text/javascript”>
    od_displayImage(‘plain_right’, ‘http://www.joomlart.com/template/ja_villadi/images/stories/demo/plain_right’, 200, 114, ”, ”);
    </script>

    I do this, but direct it to my image and It still won’t display. It removes the “<script>” tags.

    Thanks,
    z

    Please post in the Villadi section of the forum

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 4 voices, and was last updated by  ShannonN 17 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum