Anchor to Spry row on another page?

My current project is a sort of photo gallery,which displays one image at a time from an XML file.
I decided Spry was the way to go, and it has worked very well so far. I recently figured pagination out, and I have a fully functional page.
The problem is that I now want to add a permalink system by using anchors.
The idea is that when someone goes to www.myurl.com/#{number} it shows the page that contains the row that has that value in the "number" column
In my images.xml file I have
<images>
<image>
<number>6181278919</number>
<url>http://farm7.staticflickr.com/6153/6181278919_34e959ae96_b.jpg</url>
<title>Times Square</title>
</image>
</image>
In my header I have
<script src="xpath.js" type="text/javascript"></script>
<script src="SpryURLUtils.js" type="text/javascript"></script>
<script type="text/javascript">var anchno = Spry.Utils.getLocationParamsAsObject();</script>
<script src="SpryData.js" type="text/javascript"></script>
<script type="text/javascript">var imagesup = new Spry.Data.XMLDataSet("images.xml", "images/image");</script>
<script src="SpryPagedView.js" type="text/javascript"></script>
<script type="text/javascript">var imagespv = new Spry.Data.PagedView( imagesup ,{ pageSize: 1 });</script>
This creates a paged data set where one row of data shows at a time ("imagespv") from images.xml, and should hopefully create a variable ("anchno") which contains the data put after the "#" in the URL. Therefore if the user goes to www.myurl.com/#6181278919, anchno should equal 6181278919
In my region, I have
<div spry:region="imagespv" spry:repeatchildren="imagespv">
<img src="{url}">
<h2>{title} (<a href="http://www.flickr.com/photos/myname/{number}">View on Flickr>></a>)
<input type="button" value="First" onClick="imagespv.firstPage();" />
<input type="button" value="Prev" onClick="imagespv.previousPage();" />
<input type="button" value="Next" onClick="imagespv.nextPage();" />
<input type="button" value="Last" onClick="imagespv.lastPage();" />
</div>
Which shows the current content of imagespv, and has 4 buttons that change which row of images.xml is showing.
So now I need to set up a system where if anchno is given a value, imagespv is changed to show the row where the {number} column matches anchno
Anything that can be done?

Thanks for the help, but it still doesn't seem to work. I think I must not be following the instructions properly. I am not familiar with functions, but reading the code it seems to make sense, so I don't see why it's not working.
My header now reads:
  <script src="xpath.js" type="text/javascript"></script>
  <script src="SpryDOMUtils.js" type="text/javascript"></script>
  <script src="SpryURLUtils.js" type="text/javascript"></script>
  <script type="text/javascript">var params = Spry.Utils.getLocationParamsAsObject();</script>
  <script src="SpryData.js" type="text/javascript"></script>
  <script type="text/javascript">var imagesup = new Spry.Data.XMLDataSet("images.xml", "images/image");</script>
  <script src="SpryPagedView.js" type="text/javascript"></script>
  <script type="text/javascript">var imagespv = new Spry.Data.PagedView( imagesup ,{ pageSize: 1 });</script>
  <script>
    function InitPage() {
      imagespv.addObserver({ onPostLoad: function(ds, type) {
        imagespv.removeObserver(this);
          var row = imagespv.findRowsWithColumnValues({"number": params.anchno }, true);
          if (row)
            imagespv.setCurrentRow(row.ds_RowID);
    Spry.Utils.addLoadListener(InitPage);
  </script>
And I would have thought that to access the next page I should go to either
myurl.com/index.html?anchno=6181813282
or
myurl.com/index.html#6181813282
but neither of these work (6181813282 is the value in the "number" column of the next row)
Thanks for trying to help, I've seen a lot of helpful posts by you when I've been googling, but I really can't see why it won't work.

Similar Messages

  • Issue with table selection and display the seleted rows in another page as a table data

    Dear ALL,
    I have a  requirement as below:
    I have a custom OAF  page having one button, on pressing the button it will open a popup window, in that i am doing search operation and data would populate in table region below.
    Then from the table i am doing multiple selection of rows and i have a button, on pressing the button the seleted rows should display in the base page where i called this popup window and popup window should close.
    so i am able to perform multiple selection of row  from the table but how i can display the seleted rows in my base page  and how i can close the poup window after the seleted rows displayed in the base page, please help me on this.
    Thanks
    Deb

    Hi,
    For navigation data from one page to another  you can use  a hashmap that contains the parameters.
    // processFormRequest()
    HashMap hsp = new HashMap(1);
    hsp.put("myParam", "myParamVal");
    pagecontext.setForwardURL("MY_FUNCTION", (byte)0, null, hsp,true, "N", (byte)0);
    You can then retrieve this parameter in processRequest() via:
    pagecontext.getParameter("myParam")
    //Code for redirect to base page with commit
    Refer to the setPostToCallingPage method, from OADialogPage Class how to make the dialog page action buttons submit back to the calling page. In the example, the OK button commits the changes on the dialog page and the NO button rolls back the changes.
    OADialogPage dialogPage = new OADialogPage(OAException.*, mainMessage, null, "", "");
    dialogPage.setOkButtonItemName("okButton");
               dialogPage.setOkButtonToPost(true);
               dialogPage.setNoButtonToPost(true);
               dialogPage.setPostToCallingPage(true);
               dialogPage.setOkButtonLabel(yes);
               dialogPage.setNoButtonLabel(no);
    Thanks,
    Dilip

  • Target Spry RowID on page with Multiple data sets from another page

    Hi all,
    I am trying to target a specific data item, on a page with
    multiple data sets, from a link on another page. (I also have to
    pass the link through Flash, but lets start with the simple
    part...)
    You can take a look at the site in progress here:
    http://www.3andband.com/TestSite/iframeTest3.html
    From the Home page I want to link to specific news or concert
    items on the News page
    I have been trying to get SpryURLUtils to do it but I can't
    seem to get it working.
    Any help would be greatly appreciated.
    Thanks!
    Ben

    did u try if it even passes the row value?? with a simple
    alert? alert(params.row)
    Also maby u need to reorder the scripts to this;
    <script src="../SpryAssets/SpryURLUtils.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/xpath.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryData.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryCollapsiblePanel.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryEffects.js"
    type="text/javascript"></script>
    <script src="../SpryAssets/SpryAccordion.js"
    type="text/javascript"></script>
    and your js script
    var params = Spry.Utils.getLocationParamsAsObject();
    var dsConcerts = new
    Spry.Data.XMLDataSet("includes/concerts.xml", "Concerts/concert");
    dsConcerts.setColumnType("image", "image");
    var dsNews = new Spry.Data.XMLDataSet("includes/news.xml",
    "News/item");
    //Set an observer so that when the data is loaded, we update
    the current row to the url param value
    dsNews.addObserver({ onPostLoad: function(ds, type) {
    dsNews.setCurrentRow(params.row); }
    function MM_effectBlind(targetElement, duration, from, to,
    toggle)
    Spry.Effect.DoBlind(targetElement, {duration: duration,
    from: from, to: to, toggle: toggle});
    So url params get loaded before the data

  • How to insert row in the middle of a table so that the below content will move to another page?

    I'm making a huge form in LiveCycle Designer. I want to be able to add rows in the middle o the table but in a way that the content below will move down automatically in a way it doe's in Word for example.
    Sometimes I am adding a very high new row in the middle of a page and I want the content in the below rows to be moved to another page and if it is necessary I want a new page to be automatically created on the bottom of a document or something.
    Is this possible or do I have to move everything by hand if I add new row to a table?

    If you are adding the rows at the runtime by clicking a button, then you have to use the instance Manager to add rows.. It will add rows at the end and then you need to write code to move the row at the desired location by using the moveInstance method of the instanceManager.
    If you are adding a row at the design time, then you can right clcik the row and choose to add rows below.
    Thanks
    Srini

  • Link to anchor in another page?

    I'm trying to link to an anchor in another page, as opposed
    to the same page. Is this possible? Can I do it using a hotzone
    instead of text?
    I found this but it seems to only want to link to an anchor
    on the same page -
    http://www.uwec.edu/HELP/Dreamweaver8/lnk-target.htm
    Any help much appreciated.

    Yes it is possible.
    In the properties dialog insert the page containing the named
    anchor into the link edit box.
    At the end of the link add #anchor name.
    For example:
    link:
    index.htm#anchorname

  • Linking to a specific panel from another page and from higher up on same page Spry-UI-1.7

    Hi all,
    I am using Spry-UI-1.7 for a 4 tab tabbed panel on the bottom of my home page.  I'd like to link to the second tab from another page and also from the top of the home page.
    I previously used method: http://foundationphp.com/tutorials/spry_url_utils.php and it worked great.
    Now, with the Spry-UI-1.7 Tabbed Panel "widget", that method isn't working.
    I've reviewed the code from the samples page: http://labs.adobe.com/technologies/spry/samples/tabbedpanels/tabbed_panel_sample.htm
    but cannot figure out what I am doing wrong.  It shows the following code for linking from another page:
    <a href="#" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>
    I tried this 'as is' and it didn't work. 
    I tried it with index.html in place of the # and it didn't work.
    (e.g.   <a href="index.html" onclick="TabbedPanels2.showPanel(1); return false;">Tab 2</a>   )
    What am I missing here?
    (I have the tabbed panel on "index.html" and want to link from "maps.html" and from the top of "index.html"
    Thanks for any help for this spry newbie! (read: I need it spelled out like I was a 6 yr. old

    This works
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script type="text/javascript" src="SpryAssets/SpryURLUtils.js"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/SpryTabbedPanels2.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryFadingPanelsPlugin.js" type="text/javascript"></script>
    <script src="Spry-UI-1.7/includes/plugins/TabbedPanels2/SpryTabbedPanelsKeyNavigationPlugin.js" type="text/javascript"></script>
    <link href="Spry-UI-1.7/css/TabbedPanels2/SpryTabbedPanels2.css" rel="stylesheet" type="text/css">
    <script type="text/javascript"> var params = Spry.Utils.getLocationParamsAsObject(); </script>
    <script type="text/xml">
    <!--
    <oa:widgets>
      <oa:widget wid="2138522" binding="#TabbedPanels2" />
    </oa:widgets>
    -->
    </script>
    </head>
    <body>
    <div id="TabbedPanels2">
      <h2>Tab 1</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sapien lacus, porttitor vitae pretium eget, sodales sed libero. Maecenas non urna lacus, ac sollicitudin justo. Ut erat mi, hendrerit ac accumsan ac, congue eu dui. Pellentesque consectetur condimentum elit, et eleifend urna porta id. Phasellus blandit ullamcorper dignissim. In rutrum, ante non congue fermentum, metus odio bibendum elit, ut congue sapien arcu ac justo. Vivamus sit amet erat nibh, quis dignissim libero. Pellentesque in sapien felis, et volutpat eros. Maecenas adipiscing, eros sit amet placerat cursus, arcu lacus consectetur lectus, non ultricies neque urna laoreet purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. </p>
      <h2>Tab 2</h2>
      <p>Nulla facilisi. Vestibulum ipsum elit, tincidunt sed tristique sit amet, faucibus in orci. Nunc sit amet elit lorem. Sed eget arcu ipsum, pharetra ullamcorper lectus. Sed ac diam ac tortor mattis mollis. Etiam mattis felis vel augue tempus in rhoncus ligula elementum. Vestibulum ut iaculis risus. Aliquam erat sem, feugiat vel laoreet in, lobortis non mauris. Vestibulum neque nibh, vehicula eleifend tincidunt sed, bibendum id dolor. Pellentesque quis libero nec orci porttitor faucibus vitae in velit. Pellentesque dignissim sem ut justo interdum id egestas tellus fringilla. Vestibulum tempor, turpis eget dignissim luctus, est erat ultricies turpis, non tempus massa elit in nulla. Sed eu arcu vel enim laoreet hendrerit at vel enim. Integer semper malesuada sem quis porttitor.</p>
      <h2>Tab 3</h2>
      <p>Suspendisse potenti. Proin ut erat sit amet turpis egestas tempor. Integer arcu dolor, aliquam ut egestas nec, pharetra ut mauris. Duis urna mi, aliquam id vulputate et, consequat in dolor. Duis congue sem feugiat nulla malesuada scelerisque. Aenean vitae augue nec diam euismod imperdiet. In accumsan consectetur ante a vestibulum. Phasellus eu nulla et lectus tincidunt porttitor. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Proin mauris massa, venenatis ut fringilla interdum, imperdiet et neque. Sed ut risus metus.</p>
    </div>
    <script type="text/javascript">
    // BeginOAWidget_Instance_2138522: #TabbedPanels2
            var TabbedPanels2 = new Spry.Widget.TabbedPanels2("TabbedPanels2", {
                injectionType: "replace",
                widgetID: "TabbedPanels2",
                autoPlay: false,
                defaultTab: params.tab ? params.tab : 0,
                enableKeyboardNavigation: true,
                hideHeader: true,
                tabsPosition: "top",
                event:"click",
                stopOnUserAction: true,
                displayInterval: 5000,
                minDuration: 300,
                maxDuration: 500,
                stoppedMinDuration: 100,
                stoppedMaxDuration: 200,
                plugIns:[]
    // EndOAWidget_Instance_2138522
    </script>
    </body>
    </html>

  • Link to specific tab on another page but don't anchor

    Hello, I used this tutorial to link to a specific tab on another page:
    http://foundationphp.com/tutorials/spry_url_utils.php
    It works great, except I don't want to go directly to the tabbed panel. I want the particular tab to be active, but the page should load as it normally does. So the user should always be at the top of the page when it loads.
    This is the link code:
    <a href="registration.html?tab=1#form">
    As you can see, #form identifies the tabbed panel, but it also directs the link where to go. I only want to use it as an identifier, not as a navigator as well.
    Thank you.

    FShea31 wrote:
    Hello, I used this tutorial to link to a specific tab on another page:
    http://foundationphp.com/tutorials/spry_url_utils.php
    It works great, except I don't want to go directly to the tabbed panel. I want the particular tab to be active, but the page should load as it normally does. So the user should always be at the top of the page when it loads.
    This is the link code:
    <a href="registration.html?tab=1#form">
    As you can see, #form identifies the tabbed panel, but it also directs the link where to go. I only want to use it as an identifier, not as a navigator as well.
    Thank you.
    Remove the hash part of the URL parameter and just open the tab in the constructor
    <a href="registration.html?tab=1">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1",
    {defaultTab: params.tab ? params.tab : 0});
    I hope this helps.
    Ben

  • How to link from another page directly to a photo within a Spry gallery?

    I have created a page that has a photo gallery using Donald's tutorial to make a spry photo gallery. I have a need to link to a specific photo in that gallery from another page. I have seen the discussions on how to do this with tabbed panels etc.. but wondering how to do it in this context.

    Add default slide to the constructor and use a similar process to http://foundationphp.com/tutorials/spry_url_utils.php
    var ImageSlideShow = new Spry.Widget.ImageSlideShow("#ImageSlideShow", {
        defaultSlide: 2,
        widgetID: "ImageSlideShow",
        injectionType: "replace",
        autoPlay: true,
        displayInterval: 4000,
        transitionDuration: 2000,
        componentOrder: ["view", "controls"],
        plugIns: [ Spry.Widget.ImageSlideShow.PanAndZoomPlugin ]
    Gramps

  • Link to Anchor on another page DW Mac CS4

    In GoLive when I clicked on the pointer to go to another page, it showed a list of anchors on that page. Is there a way to do this? Alternately I could have two pages open at once and click from the text on one page directly to the anchor on the other with the pointer.
    Problem is that with the tabed pages I cannot open two pages at once. Is there a way to open two pages next to each other instead of tabbed?
    Bob Harris
    [Email address deleted by moderator]

    In GoLive when I clicked on the pointer to go to another page, it showed a list of anchors on that page. Is there a way to do this?
    No. Several GoLive people have asked the same question. You can't do it in Dreamweaver. If you think it's an important feature that you would like to see added to a future version, file a feature request here: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform.
    Alternately I could have two pages open at once and click from the text on one page directly to the anchor on the other with the pointer.
    I doubt if that would work.
    Is there a way to open two pages next to each other instead of tabbed?
    You can turn off the tabbed interface in the Mac version of Dreamweaver by selecting the General category in the Preferences panel. Deselect the checkbox labelled Open documents in tabs.

  • How do I display # symbol in PHP to refer to an anchor on another page?

    How do I display # symbol in PHP to refer to an anchor on
    another page?
    I am updating a record and using a dynamic anchor name for
    the page to forward to like this:
    seeAllEntriesXcodeAsc.php#<?php echo
    $row_getProductsWithSAMEcode['id']; ?>
    But I keep getting an error, I think its because its reading
    the # hash sign as a PHP instruction rather than an anchor hash...
    Is there are way to mark it up so as to use the # as part of the
    URL ?
    I have even tried referring to a dummy field with a hash in
    like this - but that doesn't work either.
    seeAllEntriesXcodeAsc.php<?php echo $_POST['hash'];
    ?><?php echo $row_getProductsWithSAMEcode['id']; ?>
    Thanks!

    Sorry, I will try and explain in a different way...
    I have a page in php where a database has an entry added,
    changed or deleted.
    The page is posted to an in between page to process the
    transaction (which works)...
    You are then taken to a dynamic anchor of the entry on a
    database summary page to the SAME entry to see that the change has
    been done.
    (So the basic problem is that the link to take to the anchor
    needs to have a # hash symbol in the middle to denote the anchor,
    but the URL that is created puts the # at the end of the URL rather
    than directly before the link the php code generates... All I need
    is a way to code a PHP URL that manages a # hash in the middle.)
    So in the middle processing page, I have update an entry
    transaction with the page to redirect to after undertaking the
    transaction as:
    seeAllEntriesXcodeAsc.php#<?php echo
    $row_getProductsWithSAMEcode['id']; ?>
    So the final URL error I get is this:
    Parse error: syntax error, unexpected
    T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or
    T_NUM_STRING in
    /secure/c/capitalgarden/admin/DeleteEntryProcessor.php on line 39
    The file is too large to post here so I have saved the file
    as an HTML file so you can read the code at this URL:
    http://www.new.capital-garden.com/DeleteEntryProcessor.html
    Thanks for your help!
    C

  • Move a spry accordian to another part of the page

    I'm relatively new to dreamweaver. I've added a spry according to my page, and right now it sits at the bottom of a photo and thumbnails for a gallery.  I'm trying to move the spry according up, to the upper right hand side of the page, but it just stays centered at the bottom and I can't drag it's outline box freely around.  Wny help would be greatly appreciated!
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Photo Gallery</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-5">
    <link rel="stylesheet" type="text/css" href="style.css" />
    <script src="SpryAssets/SpryCollapsiblePanel.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryCollapsiblePanel.css" rel="stylesheet" type="text/css">
    <link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css">
    </head>
    <body>
    <img src="images/TopBanner-mini.jpg" width="546" height="90"><br />                                                                                                                                                                                                                                                                                   <div class="inner_copy"><a href="http://www.greatdirectories.org/">web directories</a><a href="http://www.bestfreetemplates.info/">free CSS templates</a></div>
         <div id="navigation">
              <ul>
                   <li><a href="index.html"><img src="images/but1.gif" alt="" width="120" height="26" /></a></li>                                                                                                                                       
                   <li><a href="index2.html"><img src="images/but2.gif" alt="" width="120" height="26" /></a></li>
                   <li><a href="index2.html"><img src="images/but2.gif" alt="" width="120" height="26" /><img src="images/but3.gif" alt="" width="120" height="26" /></a></li>
                   <li><a href="index2.html"><img src="images/but4.gif" alt="" width="120" height="26" /></a></li>
                   <li></li>
                   <li></li>
              </ul>
         </div>
         <div class="big">
              <img src="images/photobig.jpg" alt="" width="721" height="491" />
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
              <div class="CollapsiblePanelTab" tabindex="0">Cliquez ici pour des informacions</div>
              <div class="CollapsiblePanelContent">
                <p>Sabine, here you can enter any questions or directions you have for each set.</p>
                <p> </p>
                <p>A.</p>
                <p>B.</p>
                <p>C. </p>
                <p>etc.</p>
                <p> </p>
              </div>
          </div>
    </div>
         <div class="content">
              <div class="preview">
                   <a href="#"><img src="images/pic1.jpg" alt="" width="105" height="72" /></a>
                   <a href="#"><img src="images/pic2.jpg" alt="" width="105" height="72" /></a>
                   <a href="#"><img src="images/pic3.jpg" alt="" width="105" height="72" /></a>
                   <a href="#"><img src="images/pic4.jpg" alt="" width="105" height="72" /></a>
                   <a href="#"><img src="images/pic5.jpg" alt="" width="105" height="72" /></a>
                   <a href="#"><img src="images/pic6.jpg" alt="" width="105" height="72" /></a>
                   <a href="#"><img src="images/pic7.jpg" alt="" width="105" height="72" /></a>
                   <a href="#"><img src="images/pic8.jpg" alt="" width="105" height="72" /></a>
                   <div class="smallmenu">
                        1 <a href="#">2</a> <a href="#">3</a> <a href="#">4</a> <a href="#">5</a> <a href="#">6</a> <a href="#">7</a>                                                                                                                                                                                                                                                                                              <div class="inner_copy"><a href="http://www.bestfreetemplates.org/">free templates</a><a href="http://www.bannermoz.com/">banner templates</a></div>
                   </div>
              </div>
    </div>
    <div id="footer">
              <ul>
                   <li><a href="index.html">home</a></li>
                   <li><a href="index2.html">gallery</a></li>
                   <li><a href="index2.html">about me</a></li>
                   <li><a href="index2.html">news</a></li>
                   <li><a href="index2.html">parters</a></li>
                   <li><a href="index2.html">contacts</a></li>
              </ul>
              <p>     
                   Copyright &copy;. All rights reserved. Design by <a href="http://www.bestfreetemplates.info" target="_blank" title="Best Free Templates">BFT</a>                                                                                                                                                                                                                                                <div class="inner_copy"><a href="http://www.beautifullife.info/">beautiful</a><a href="http://www.grungemagazine.com/">grunge</a></div>
              </p>
         </div>
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Image li&eacute;e 1</div>
        <div class="AccordionPanelContent"><a href="#"><img src="images/pic1.jpg" alt="" width="105" height="72" /></a></div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Image li&eacute;e 2 </div>
        <div class="AccordionPanelContent"><a href="#"><img src="images/pic1.jpg" alt="" width="105" height="72" /></a></div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Image li&eacute;e  3</div>
        <div class="AccordionPanelContent"><a href="#"><img src="images/pic1.jpg" alt="" width="105" height="72" /></a></div>
      </div>
    </div>
    <script type="text/javascript">
    <!--
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1");
    var Accordion1 = new Spry.Widget.Accordion("Accordion1");
    //-->
    </script>
    </body>
    </html>

    DW isn't drag & drop like your graphics apps.  You need to look at your code.
    Highlight the relevant portions, Cut or Copy & Paste code to where you want it to appear in your markup.
    <!--BEGIN ACCORDION PANEL-->
    <div id="Accordion1" class="Accordion" tabindex="0">
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Image li&eacute;e 1</div>
        <div class="AccordionPanelContent"><a href="#"><img src="images/pic1.jpg" alt="" width="105" height="72" /></a></div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Image li&eacute;e 2 </div>
        <div class="AccordionPanelContent"><a href="#"><img src="images/pic1.jpg" alt="" width="105" height="72" /></a></div>
      </div>
      <div class="AccordionPanel">
        <div class="AccordionPanelTab">Image li&eacute;e  3</div>
        <div class="AccordionPanelContent"><a href="#"><img src="images/pic1.jpg" alt="" width="105" height="72" /></a></div>
      </div>
    </div>
    <!--END ACCORDION PANEL-->
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How to set cookie value in one page and retrieve in another page using setA

    How to set cookie value in one page and retrieve in another page using setActionListener?
    I have tried with following code srcpage.jspx->destpage.jspx
    srcpage.jspx
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
    var="emp" rows="#{bindings.EMPView1.rangeSize}"
    first="#{bindings.EMPView1.rangeStart}"
    emptyText="#{bindings.DepartmentsView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="EmployeeName" sortable="false"
    headerText="Cookie Testing">
    <af:commandLink text="#{emp.EmployeeName}" action="success">
    <af:setActionListener from="#{emp.EmployeeName}"
    to="#{cookie}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    espage.jspx
    <af:outputText value="Test Cookie Value: #{cookie}"/>
    ,Here Test Cookie Value prints the following instead of its original String value
    {JSESSIONID=javax.servlet.http.Cookie@7da288, oracle.uix=javax.servlet.http.Cookie@399f62}
    I have passed employee name "Robert" to cookie in srcpage.jspx,but it prints "JSESSIONID....." instead of "Robert" in destpage.jspx
    Thanks in advance
    Kalee

    Hi,
    "cookie" is a reserved name. If you want to write to a session scope attribute called "cookie" then you have to call #{sessionScope.cookie}. If you want to use EL to set and read from cookies then you will have to use
    #{cookie.cookieName}
    Note that #{cookie} writes to and returns a map
    check this: http://www.informit.com/articles/article.aspx?p=30946&seqNum=7
    Frank

  • Linked Column to Item on Another Page

    How does one link a report column to an item on another page? I can link to another page, but I can't get the value into an item on that page.

    Hi - I presume you want to implement something like an 'edit' link, where you click on a row in a report and get redirected to a form where you can edit that record's data.
    What's going on here is this:
    1. Redirect to the form page;
    2. Set the primary key field's value on that page; and
    3. Perform a row fetch to populate the form items.
    The 'edit' column of the report will normally hold the PK value.
    In the link attributes for the edit column you need specify the value you want to set when you redirect (the name of the PK item on the form page) and the value you want to set it to (normally the edit column name).
    Easiest way to see this in action is to create a Form and Report on a Table using the wizard and look at what APEX puts into the first report column. You can see the ID value being passed in the URL as you link to the form page.
    Hope this helps.
    Regards,
    John.

  • How do you link to a specific location in another page?

    I'm working in Dreamweaver CS4.  I'm trying to create a link to go to a specific location on another page in my website.  Any advice?

    All the information I have seen about Named Anchors deals with information that is contained on the same page.  I am looking to go to a specific location on a different page.  Is this possible using Named Anchors?  If so, how?
    Sure it is.
    Place a named anchor on your destination page near the bottom of your page for this test.  And name your anchor  1.
    On the parent page, your link will look like this:
    <a href="some_page.html#1">this is a link to named  anchor 1</a>
    Save both pages and test in browser.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Linking to a Tab in another page which has 3 tabbed panels

    Hi
    I have created a page which has three tabbed panels.  The first is a horizontal Tabbed panel with two tabs.  Each of these tabs has a vertical tabbed panel with 4 tabs in each.
    I want to be able to link from another page to the 2nd horizontal tab and the first vertical tab on that page.
    If I use the URL  ?tab=1, the link takes me to the second horizontal tab but also then to the second vertical tab.
    I have tried the following
    giving the target tabs the same id and targeting ?tab=news
    setting the url to ?tab=1&tab=0
    setting the url to ?tab=TabbedPanel1.tab1&TabbedPanel2.tab2
    but none of these work.
    Javascript is not my thing (as you have probably guessed!).  Is there a way that I can target any combination of tabs on one page through the URL?
    Any ideas, much appreciated.
    Thanks

    Data:
    Tab on main tabbed panels = primetab
    Tab on nested tabbed panels = secondtab
    URL Link = myPage.html?primetab=2&secondtab=2
    Markup:
    <!DOCTYPE html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet">
    </head>
    <body>
    <div id="TabbedPanels1" class="TabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
            <div id="TabbedPanels2" class="TabbedPanels">
              <ul class="TabbedPanelsTabGroup">
                <li class="TabbedPanelsTab" tabindex="0">Tab 1.1</li>
                <li class="TabbedPanelsTab" tabindex="0">Tab 1.2</li>
              </ul>
              <div class="TabbedPanelsContentGroup">
                <div class="TabbedPanelsContent">Content 1.1</div>
                <div class="TabbedPanelsContent">Content 1.2</div>
              </div>
            </div>
        </div>
        <div class="TabbedPanelsContent">
            <div id="TabbedPanels3" class="TabbedPanels">
              <ul class="TabbedPanelsTabGroup">
                <li class="TabbedPanelsTab" tabindex="0">Tab 2.1</li>
                <li class="TabbedPanelsTab" tabindex="0">Tab 2.2</li>
              </ul>
              <div class="TabbedPanelsContentGroup">
                <div class="TabbedPanelsContent">Content 2.1</div>
                <div class="TabbedPanelsContent">Content 2.2</div>
              </div>
            </div>
        </div>
      </div>
    </div>
    <script src="SpryAssets/SpryTabbedPanels.js"></script>
    <script src="SpryAssets/SpryURLUtils.js"></script>
    <script>
    var params = Spry.Utils.getLocationParamsAsObject();
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1", {defaultTab: params.primetab ? params.primetab : 0});
    var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2", {defaultTab: params.secondtab ? params.secondtab : 0});
    var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3", {defaultTab: params.secondtab ? params.secondtab : 0});
    </script>
    </body>
    </html>
    The highlighted parts denote the markup required over and above the original markup for tabbed panels, placing JS at the bottom of the document is a peculiarity of mine an is therefore not a necessity.
    Gramps

Maybe you are looking for

  • My Macbook Pro keeps restarting itself with a Panic message each time!

    Hi there, I have had a few problems with my Macbook since I have bought it, namely the replacing of the hard drive twice. I am completely useless when it comes to tech, so my question may have already been answered but I might of just not understood

  • Extreme base station instewad of internal card?

    I have an iMac with no internal card and an extra base station. Can they work together (via ethernet cable) to access my new Extreme (n) Base station that I now use with portables?

  • Book Module not exporting to jpg

    I am trying to export a 80 page book to jpg at quality 60, 75 dpi so that I can consult with someone about the layout. The module will only export the cover and the first 4 pages. Any suggestions on what to do? Billie

  • Getting started with HP Connect

    I downloader the HP Connect app to my android phone and my hp laptop. I looks like I've lost some o my photos. Ii don't know what to do and not techie enoug to understand what I'm find on the web. Help.

  • How to format hard drive

    I want to format my 2010 hard drive to new but don't know, how?  Need help.