Help with putting links on graphics in spry accordion

I have a sidebar with a spry accordian. Each content area has an image in it. I want users to be able to click on the image (after the accordian is open to it) and link to another page. But I can't find anyway to attach a link to the image, inside the accordian. Please Help!!
Thank you.

Also, after a panel is opened and clicked on, it closes and the first panel opens. I have compared the code on the style sheet with the code from Backyard furniture but it looks identical. Where is the code that tellls a panel to stay open?
There are three accordion panels for the backyardfurniture.com.au menu systems. Each page uses a unique set of instructions within the constructors of each panel.
For the home page the constructors (near the bottom of each document) look like
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, useFixedPanelHeights: false, defaultPanel: 0 }); /* open 1st panel */
var Accordion2 = new Spry.Widget.Accordion("Accordion2", { useFixedPanelHeights: false, useFixedPanelHeights: false, defaultPanel: -1 }); /* all panels closed */
var Accordion3 = new Spry.Widget.Accordion("Accordion3", { useFixedPanelHeights: false, useFixedPanelHeights: false, defaultPanel: -1 }); /* all panels closed */
For the Product->Your Backyard Furniture page it looks like
var Accordion1 = new Spry.Widget.Accordion("Accordion1", { useFixedPanelHeights: false, useFixedPanelHeights: false, defaultPanel: 2 }); /* open 3rd panel */
var Accordion2 = new Spry.Widget.Accordion("Accordion2", { useFixedPanelHeights: false, useFixedPanelHeights: false, defaultPanel: 0 }); /* open 1st panel */
var Accordion3 = new Spry.Widget.Accordion("Accordion3", { useFixedPanelHeights: false, useFixedPanelHeights: false, defaultPanel: -1 }); /* all panels closed */
You can follow the other pages and see the same kind of constructors for each of the pages.
Gramps

Similar Messages

  • Need some help with putting a folder in users directory

    I'm not sure how to do this, but what I want to do is put this file in C:/My Documents, but I need to be able to verify that C://My Documents exists, if not put it in C:/Program Files.
    Can any one help me out?
    try {
                        String[] contactArray = parseDatFile(fc.getSelectedFile());
                        Document document = createXMLDocument(contactArray);
                        saveToXMLFile(
                        document,
                        new File(
                        "C:/Program Files/xxx/",// looks for directory for list
                        "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"));
                    } catch (Exception exc) {
                        File f = new File("C:/Program Files/xxx/");// setting directory for list if not there
                        boolean yes = true;
                        yes = f.mkdir();// creating directory
                        try {
                            String[] contactArray = parseDatFile(fc.getSelectedFile());
                            Document document = createXMLDocument(contactArray);
                            saveToXMLFile(
                            document,
                            new File(
                            "C:/Program Files/xxx/",// used only if the directory didn't exist
                            "xxxxxxxxxxxxxxxxxxxxxxx"));

    Need some help with putting a folder in users directoryI recomend using System.getProperty( "user.home" ) not a hard-coded value.
    This will use the users home folder ( C:\My Documents ) on Win9X (I guess), C:\Documents and Settings\<current user> on Win2K +, and ~ on Unix-a-likes.

  • Help with putting photos on my ipod!!!

    i need help with putting photos on my 20 gig ipod. Model number is MA079LL. and i have versions 1.1 what is the up to date version?

    anyone help?

  • Help with putting videos on Ipod

    Hey all. I'm a little new to this. I'm having trouble putting videos on my Ipod. When I try to put them in i get a message saying "Some of the songs in the Itunes music libary, including the song "...", were not copied to the IPod because they cannot be played on this IPod.
    Maybe they're the wrong file type? It does this for every video I have. How can I solve this problem? Thanks for your help!

    you need to convert the videos either to .mov or .mp4. either will be compatible for the ipod. you need to use 3rd party software not supported by apple.windows users have had trouble or success using this software.
    To use Videora iPod Convertor to convert movies for use on your iPod, consult these helpful links:
    To get started: http://www.videora.com/en-us/Converter/iPod/
    If you have questions: http://www.videora.com/en-us/Converter/guides.html
    If you have more questions, post them here: http://www.pspvideo9.com/forums/index.php?c=8
    Note that Videora iPod Convertor is a 3rd party program. If you need help with it, post your question there.
    GFF

  • Please help with a link!!

    Hi All,
    I am having a problem with a link on this site that I am working on. http://msp005revised.businesscatalyst.com/index.html   I would like to have  "Learn more about Mary" as a link which scrolls horizontally to the "About Mary"   page. All the pages are part of a tooltip composition widget. I tried using anchors unsuccesfully. I would be ever so grateful for any help.
    Rita

    Hi Rita
    With Anchors what happens if you apply that ? It should work as the page should scroll up to menu options that you have placed on main page.
    But it seems you are using full screen slideshow and wants to link the text with the slideshow on Mary using the triggers.
    My suggestion would be to create a page or image/document about marry and then hyperlink the text with that page, this way users will be directed to About Mary page not the actual slideshow but the contents can be made same or insert the same slideshow on About Mary page, the effect would be same.
    Thanks,
    Sanjit

  • Help with putting a logo on top of a photo as a web page heading

    I am new to this and stuck with what i imagine is a simple
    problem. I need to replace a former name with a new one on a
    website. The old logo has also been changed. The page headings have
    been changed also.
    I have a logo scanned as a jpg but can re-sacn it if need be.
    I need to take a photo, crop it to fit the alloted available sapce,
    and somehow combine it with the logo on top of it, with a
    transaprent background so that bi can see the photo underneath.
    But, the logo has a white background and I cannot get it to
    be transparent.
    Re the section titles I need to put in new ones as some terms
    have changed. I can remove the existing ones but don't know how to
    get them inserted back into the webpage with edit in contribute.
    I am trying Contribute as I thought Dreamweaver might be too
    complicated for me. However, I also own MS Publisher and the usual
    MS Office XP office suite. In Publisher I can make transparent
    effects over text sections, which has the logo but not its
    background showing, but it won't work with putting it on top of a
    photo.
    And, I cannot get the section headings to insert into the
    page i am editing with Contribute. Please help if you can. thank
    you.

    First:
    1. get hold of a Photoshop-like program that can work with
    layers (Photoshop Elements, The Gimp, etc.)
    2. Open your logo.jpg and use the magic-staff to select the
    background
    3. delete the background
    4. import the photo you want to use for the background (or
    open it in your pohot-program, select all and copy to your
    logo.jpg)
    5. your photo becomes the background layer and your logo the
    layer on top of it.
    6. save your original file with the layers as a f.i. psd file
    Second:
    1. in you browser select the image you want to replace
    2. use your right mouse-button to see the properties (height,
    width, path and name)
    3. now open your logo.psd
    4. adjust the file to fit the image it has to replace (height
    and with), you probably have to crop the image
    5. save your file and export you new logo.jpg, but give it
    the name of the image it has to replace
    Third:
    1. open Contribute
    2. Click File, Publish file from my computer
    3. Publish the file (make sure you have 'delete'rights on the
    website to be able to overwrite the old file)
    4. find the folder the image that has to be replaced is in
    5. publish you new image to that folder
    6. Contribute asks you if you want to overwrite the old file,
    and you want that
    7. The image has been replaced

  • Can you help with D-link and two airport express stations

    I currently run a Dlink 604 wireless and 1 Airport express for iTunes in my front room.
    A Express is also linked to the Dlink via a cable.
    All works fine - G4 dual running OS x 10.3.9
    I would like help with a couple of things please:-
    1. I have no current security on my Express, so anybody can use the net connection through it. How do I change this and still be able to use my tower and laptop?
    2. I have a second Express from work that I would like to use upstairs. It does work but requires me to swap the network to use it for iTunes and then I have no internet.
    It was formatted at work so has different ip numbers etc.
    Can I make this station join my exisitng network?
    As my lap top is wireless will I be able to surf through it upstairs?
    Thanks
    JohnO

    1. You need to open the Express's configuration in Airport Admin Utility and change the Wireless Security settings to WEP or, preferably, WPA or WPA2. When you attempt to connect to the network from your computers, you will be prompted for the password.
    2. The easiest thing to do is to hard reset the second Express and then use the Airport Setup Assistant to configure the second Express to join and extend the first Express's network. To do a hard reset, hold down the reset button until the LED starts flashing rapidly.
    BTW, I know it can work because I have the exact same setup (D-Link DI-604 and two Expresses in an extended wireless network).

  • Need help with href link that submits

    I need some help. I dynamically create HTML that displays a horizontal row of page numbers in Position 8. Although they look like page numbers to the use, are not true Apex pages, but rather "logical" pages that change the content in a single Apex physical page. The URL that gets returned from the HREF sets a variable in the page. Then I need a submit to occur so that all my "after submit" processes run, and the page re-renders. Is this even possible? I've been unsuccessful so far.
    Thanks.

    Martin,
    Two things...
    1. Be careful about "hard coding" values in a link. I don't know if you've already done this, but the link should use substitution variables as so...
    f?p=&app_id.:&app_page_id.:&app_session.::NO::P94000_LOGICAL_PAGE_NUM:2
    When the page renders each substitution variable will be replaced with the correct value.
    2. Not that it really matters, but you named your variable starting with P94000. Typically this would indicate the variable appears on page 94000. Is this the case?
    The problem with what you want to do is that it can be done so many different ways. Each way is not necessarily better than the other. Number 1 above is using a link in the traditional sense. It's a link to the same page (achieved by using app_page_id). It will not submit the page but it contains enough information to set the value of a variable and you can code off of that variable's value.
    You could use a JavaScript trick, but I wouldn't bother for this. In addition, you could use the request value over a variable value to feed off of but since you already started with the variable I'd stick with that.
    The first thing you need to do is figure out if your variables value is being set with the link... Let me know if you have more questions.
    Regards,
    Dan

  • I need help with circular linked list

    Hi,
    I need help with my code. when I run it I only get the 3 showing and this is what Im supposed to ouput
    -> 9 -> 3 -> 7
    empty false
    9
    empty false
    3
    -> 7
    empty false
    Can someone take a look at it and tell me what I'm doing wrong. I could nto figure it out.
    Thanks.This is my code
    / A circular linked list class with a dummy tail
    public class CLL{
         CLLNode tail;
         public CLL( ){
              tail = new CLLNode(0,null); // node to be dummy tail
              tail.next = tail;
         public String toString( ){
         // fill this in. It should print in a format like
         // -> 3 -> 5 -> 7
    if(tail==null)return "( )";
    CLLNode temp = tail.next;
    String retval = "-> ";
         for(int i = 0; i < -999; i++)
    do{
    retval = (retval + temp.toString() + " ");
    temp = temp.next;
    }while(temp!=tail.next);
    retval+= "";}
    return retval;
         public boolean isEmpty( ){
         // fill in here
         if(tail.next == null)
              return true;
         else{
         return false;
         // insert Token tok at end of list. Old dummy becomes last real node
         // and new dummy created
         public void addAtTail(int num){
         // fill in here
         if (tail == null)
                   tail.data = num;
              else
                   CLLNode n = new CLLNode(num, null);
                   n.next = tail.next;
                   tail.next = n;
                   tail = n;
         public void addAtHead(int num){
         // fill in here
         if(tail == null)
              CLLNode l = new CLLNode(num, null);
              l.next = tail;
              tail =l;
         if(tail!=null)
              CLLNode l = new CLLNode(num, null);
              tail.next = l;
              l.next = tail;
              tail = l;
         public int removeHead( ){
         // fill in here
         int num;
         if(tail.next!= null)
              tail = tail.next.next;
              //removeHead(tail.next);
              tail.next.next = tail.next;
         return tail.next.data;
         public static void main(String args[ ]){
              CLL cll = new CLL ( );
              cll.addAtTail(9);
              cll.addAtTail(3);
              cll.addAtTail(7);
              System.out.println(cll);          
              System.out.println("empty " + cll.isEmpty( ));
              System.out.println(cll.removeHead( ));          
              System.out.println("empty " + cll.isEmpty( ));
              System.out.println(cll.removeHead( ));          
              System.out.println(cll);          
              System.out.println("empty " + cll.isEmpty( ));
    class CLLNode{
         int data;
         CLLNode next;
         public CLLNode(int dta, CLLNode nxt){
              data = dta;
              next = nxt;
    }

    I'm not going thru all the code to just "fix it for you". But I do see one glaringly obvious mistake:
    for(int i = 0; i < -999; i++)That says:
    1) Initialize i to 0
    2) while i is less than -999, do something
    Since it is initially 0, it will never enter that loop body.

  • Desperate help with putting video on ipod

    I had a movie on my ipod and after the new update came out, itunes took the movie off my ipod and said it can't be played on this ipod.Anyone know how to fix this?

    you need to convert the videos either to .mov or .mp4. either will be compatible for the ipod. you need to use 3rd party software not supported by apple.windows users have had trouble or success using this software.
    To use Videora iPod Convertor to convert movies for use on your iPod, consult these helpful links:
    To get started: http://www.videora.com/en-us/Converter/iPod/
    If you have questions: http://www.videora.com/en-us/Converter/guides.html
    If you have more questions, post them here: http://www.pspvideo9.com/forums/index.php?c=8
    Note that Videora iPod Convertor is a 3rd party program. If you need help with it, post your question there.
    GFF

  • Help with putting dvds on my zen!!!!

    PLEASE HELP ME WITH PUTTING?DVDS ON MY ZEN!!!!!
    Andrew

    (Hello Soccerguy,
    Welcome on board! If you use the search function above, you will get a lot of related topics about movie convertions. This one should help you.

  • No Qualified People Here?   Need Help with Contact - Linking Email

    I have two pages - XML, I'll post photos . Just need to link it to my email and also I page to link social buttons.

    It is getting late here, nearly 3:00 am.
    I'll get back to you later on. But I am still in a quandary regarding the question. What I have now is
    you post photos, presumably to the website
    you send an email to yourself with a link to the image
    somewhere (please state where) you want social media images with their relative links
    I just want to link it to my own email - probably refers to point 2 above
    so when someone sends it to me - someone sends what to you. Do you post the iphoto or does it get uploaded by someone else.
    we need to disregard the XML-file

  • Need help with different link styles on same page

    Hello,
    I'm using Dreamweaver CS4 on a PC.
    I have searched through a lot of posts over the last couple of days, I've tried the projectseven.com tutorial, google'd, etc. but still can't figure it out.....
    All I want to do is apply a different link colour to some links in the footer of my page. Elsewhere through the site I have set the colour to blue (for the link) and orange (for the hover) - for the footer links I want the link to be white and the hover colour to stay orange.
    The problem with the projectseven tutorial is that it doesn't seem to apply to CS4 and I kept getting error messages when trying to apply a new CSS rule - there's no Class|Tag|Advanced options as per the instructions ....
    I've copied the code of my page to this. The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    Could someone please give me some instructions or point me in the right direction please??
    Many thanks,
    Vickie
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Subscribe to Family Australia - it's free!</title>
    <!-- TemplateEndEditable -->
    <link href="../family-subscribe.css" rel="stylesheet" type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    <style type="text/css">
    <!--
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style></head>
    <body>
    <div id="container">
      <div id="banner">
        <ul id="family-subscribe-menu" class="MenuBarHorizontal">
          <li><a href="../index.html">Home</a>      </li>
          <li><a href="../subscribe.html">Subscribe</a></li>
          <li><a href="../family-advertise.html">Advertise</a>      </li>
          <li><a href="../family-articles.html">Articles</a></li>
    <li><a href="../family-sign-in.html">Issues</a></li>
          <li><a href="../family-contribute.html">Contribute</a></li>
    <li><a href="../family-contact.html">Contact</a></li>
        </ul>
    </div>
        <div id="sidebar"><a href="../family-sign-in.html"><img src="../images/launch-issue.jpg" alt="launch-issue" width="220" height="380" hspace="4" /></a>
          <div id="sidebar-image2">
            <p><img src="../images/Sleeping bag for web.jpg" width="220" height="151" alt="sleeping-bag" /></p>
            <p>Kozy Koala™ Pillow Sleeper is ideal for those  summer nights when the kids want to sleep out or when you go camping. The  all-in-one pillow camper consists of …. [MORE]</p>
          </div>
          <div id="sidebar-image3">
            <p><img src="../images/solrx for web.jpg" width="220" height="164" alt="sunscreen" /></p>
          SolRX® Sunscreens are very sweat and water  resistant – ideal for anyone who leads an active outdoor lifestyle … whether  you’re in the water or not! [MORE]</div>
      </div>
        <!-- TemplateBeginEditable name="main-content-region" -->
        <div id="main-content">main content</div>
        <!-- TemplateEndEditable -->
      <div id="footer">
    <div id="footer-navigation-bar"><a href="../family-about.html">about</a> | <a href="../family-advertise.html">advertise</a> | <a href="../family-contribute.html">contribute</a> | <a href="../family-contact.html">contact</a> | <a href="../family-unsubscribe.html">unsubscribe</a></div>
          <div id="footer-text">Family Australia | ABN 33150685385 | For all advertising enquiries please contact <a href="mailto:[email protected]">[email protected]</a><br />
    Copyright © 2010 Family Australia. All rights reserved.
    </div>
      </div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var MenuBar1 = new Spry.Widget.MenuBar("family-subscribe-menu", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    //-->
    </script>
    </body>
    </html>

    The links which I want to apply a different style to are contained in the Div Tag called "Footer-Navigation-Bar" .
    a:link {
    color: #30C;
    text-decoration: none;
    a:hover {
    color: #F30;
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:active {
    text-decoration: none;
    Hello
    You can see above the CSS that applies to your links.  If you have links that you want to style in a diferent way, just write the rule Like this:
    #Footer-Navigation-Bar a:link {
    color: red;
    text-decoration: none;
    Or whatever.  There are other ways but this will do you as you already have those links you want styled differently in a div with its own ID.  The new rule should come after the other rules in your CSS I think to make sure of the cascade although thinking about it,  there's something called specificity in CSS which means that the rule that I suggest will win out anyway.  All that you are doing in my suggestion is selecting the a:link that is a descendant of an element with that particular ID.
    I hope that helps.  I'm a bit of a novice and might have got a bit jumbled with the cascade/specficity thing but hey, I reckon that will get you where you want to go....
    Martin.

  • Help with Page Link

    Have inserted a hyperlink to a page on the B Master of my file, when the Hyperlink is checked in the file it is directed to the correct place, when I do  Folio Preview the link goes to a different page and when I Create an App the link is still incorrect, can anyone help please?????? The Preflight Check displays no errors!

    Creating an IPad app. The issue is with the alternate layout. I have a a
    small graphic which when tapped takes the user back to the home page of the
    alternate layout.
    I have checked the link in the Hyperlinks Panel and it links to the correct
    page. When I produce a Folio Preview the link goes to the last page of the
    alternate layout instead of the first page. Hope this clarifies
    Thanks Barb

  • Help with Web link sharing

    I run an organization where documents are gathered and viewed
    on our website. Adobe.com has the perfect design and feel. But when
    i 'Copy URL' to the website link, I get an 'invalid address'
    message. The people at Wix told me it is probably because the
    address is secure ('https"). I have other links to the site with no
    problems. Is there something I'm missing? Please help! I'd like to
    be able to ues my Adobe.com docs (that's why I signed up!)
    f.

    Hello swordglint,
    Thanks for your posts!
    I think what wkreps was suggesting, is If you put the url
    that you copy into Another web browser window, or maybe a separate
    browser all together, you will experience what others experience
    when clicking the same link.
    So the question is, what happens when you paste your copied
    link into a fresh browser window?
    Do you get invalid address there? or any errors? Start here.
    How the Wix.com page is handling the input of web addresses
    is beyond our scope here, but hopefully it will accept it, if it
    works for you in another browser. At least then you know if it's a
    valid url or not!
    Cheers,
    Pete

Maybe you are looking for

  • Question on QoS for File-- SOAP synchronous high volume interface

    Is it possible to have a File to SOAP (sender file adapter --> receiver SOAP adapter, synchronous - response needed by sender ) scenario with FIFO (first in first out). This is a high volume interface (about 8 messages/second). If FIFO possible, will

  • Help mini wont play songs

    This is a new ipod mini i have and it will not play songs although the music is on there. Its not that sound doesnt work, i look at the ipod and the time doesnt change = doesnt play. Can someone please help me

  • 304 If-modified-since

    The following seems to be doing what it should i.e. comparing a modified-since header against a database value and sending a 304 if not modified accordingly. It appears to work but I would like your comments since I'm new to doing this type of thing.

  • Captioned Videos Saved as .swf not uploading

    Is there any way to upload a captioned video, saved as .swf, to the content library? I thought Adobe Connect Presenter was Section 508 compliant. This seems ridiculous if it can't be done. I work for the Govt and we have to abide by all Section 508 g

  • I have lost all my pics and NOT my fault. Can anyone help?

    So. I clicked ok to do an update - after 2 mins my phone went off. I left it for a while and assumed it could be part of the update. The phone was off all night. In the morning i tried MANY times to get it on. It was fully charged too. The only optio