How do i make multiple links change 1 Div?

I'm not sure how to go about explaining this but ill try.
i have a my main nav bar on top with my links to pages i go to a page say "products" on the products page theyre 8 links on the side and a big DIV space to the right that i would like to change with each click on its respectable link. can i just make the big Content DIV change? or do i have to make a page for each link. sorry if that vague if you have any questions just ask me thanks.

Hi
Sorry if I put you off but it is not as complicated as it may appear from the tutorials. As an example once you have your pages created and using jQuery, to place the content into your 'existing page you would use the following code -
<script type="text/javascript" charset="utf-8">
//<![CDATA[          // new code
  // When the document loads do everything inside here ...
$(document).ready(function(){
                        $('.menu a').click(function(event) { //start function when any link is clicked
                        event.preventDefault();
                        var content_show = $(this).attr('href'); //retrieve title of link so we can compare with file
                            $.ajax({
                            method: 'get',url: content_show,
                            error: function(){
                            $('#detailcontent').html('<h3>Error loading document!</h3>');
                           success: function(){ //so, if data is retrieved, store it in html
                           //$("#detailcontent").html("Your item no is - " +content_show); //reinsert for testing
                           $("#detailcontent").load(content_show + ' ' + '#detailcontent'); //show the html inside detailcontent div
          }); //close click(
     }); //close $(
//]]>
  </script>
This would insert the content from a div with an id of detailcontent in your 'link' page and place it into your 'current' pages div with the same name.
PZ

Similar Messages

  • How do I make multiple movies look like one?

    I created a demo of 136 slides with mostly screencaps and one
    small flash animation. The final published flash file is
    approximately 30MB. When the demo is run on multiple computers, the
    CPU utilization rises up to almost 100%, this makes the demo run
    very slowly on most computers. I was advised to cut my captivate
    movie in half ( in slides)... however even then the CPU utilization
    is quite high. How can I break my demo into multiple linked movies
    (to bring down the file size) but still have it play smoothly
    without it stopping to load after each new movie? How do I make
    multiple movies look like one?
    Thank you.

    Would it work to make the navigation of the page go to the
    next movie?

  • I've never made a rescue email, how do I make one and change my security questions

    I've never made a rescue email, how do I make one and change my security questions

    Click here for information. If you can't reset them through the method described in that article, contact the iTunes Store staff via the link in the 'Additional Information' section.
    It isn't possible to create a rescue email address without correctly answering two of the questions. Nobody on these boards can reset them for you.
    (95613)

  • How do I make multiple text bold, for example scene headings or character names?

    How do I make multiple text bold, for example scene headings or character names?

    You can do that by editing the template of the document.
    Open the document, go to Edit->Template. A dialog will launch which will have element types on the left and it's properties on the right.
    Select Scene Heading(or Character name) on the left. On the right, go to 'Text' tab and click on Bold checkbox.
    Press OK.
    Hope this helps.
    Cheers,
    Sunny

  • How can I save multiple links using the "save link as" function?

    I'm trying to save about 300 pdf files. The link to each one is listed ona website. To save each one I'm right clicking on the link, selecting "save link as" and repeat.
    How can I select multiple links and save them?

    Actually you can save multiple page pdf's in elements.
    Try something like this:
    (This is easier if you have the project bin open)
    1. Select the first page
    2. Right click on that page in the project bin and choose Add Blank Page or as many pages as you need.
    3. Use the move tool and drag your pages down into the blank pages in the project bin
    4 Then File>Save As>Acrobat.PDF

  • I want to remove the header and footer when printing from my mac, i can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?

    I want to remove the header and footer when printing from my mac, I can do this in the Page Setup on my PC but not on the Mac. I can do it each time I print but then it resets. How do I make a universal change?
    == This happened ==
    Every time Firefox opened

    Go to the "File" menu, then "Print." The window that appears will have three drop-down menus at the top.
    The first is labeled "Printer",
    The second is "Presets".
    The third is unlabeled but has "Copies & Pages" selected by default.
    Click on that third menu and select "Firefox" near the bottom of the list.

  • How do you make a link open on a new page (typically the target="_blank" command) in MUSE?

    how do you make a link open on a new page (typically the target="_blank" command) in MUSE?

    Newer version does not have the same interface.  I'm stuck trying to understand how to add a "blank" target to a hyperlink...  See how your screenshot has a dropdown associated with the "Hyperlink" object?  Mine doesn't...

  • How can I make a permanent change in the zoom level?

    I want to know how I can make a permanent change is the zoom level? I dont want to constantly have to change it from the default value of 100% every time I go to a different page. Thanks.

    Hello,
    You can also use the [https://addons.mozilla.org/en-US/firefox/addon/2592/ NoSquint] add-on to change the default zoom level for all websites at once. After setting your global zoom level, you can fine-tune the zoom on individual sites and set the options so that NoSquint remembers per-site settings.
    After installing NoSquint, go to the add-ons page to set the per-site settings:
    * Tools (or [[Image: New Fx Menu]]) > Add-ons > Extensions
    * Click the "Options" button by NoSquint

  • How can I make a global change so all controls and indicators labels on the front panel change to another colour?

    How can I make a global change so all controls and indicators labels on the front panel change to another colour?
    I need to change the front panel so that it can be used in a dark environment.

    Hi
    The only way I see, is to use the "Controls[]" property and iterate through all of them. But don't forget about nested elements (i.e. clusters, tab-controls, ...).
    Thomas
    Using LV8.0
    Don't be afraid to rate a good answer...

  • How can I make multiple pictures slowly fade to white in FCP X ?

    I am new to FCP X and I'm creating a picture slideshow.  How can I make multiple pictures slowly fade to white in FCP X ?
    For example, I would like to have 10 pictures all play in 5 seconds, and starting off with the 1st one being little light; 2nd lighter; 3rd lightter; etc., to 10th being completly white screen...
    Can anyone help ?

    Here is what I would do. Add a 5 second white generator solid to your storyline. Add your 10 half second clips as attached clips. Select them all, right click and make a compound clip. Then keyframe the compound clips opacity from 100% t0 0% with one keyframe at the beginning and one at the end. That will give you a linear reduction in opacity over the 5 seconds(10 pics). You can play with the keyframes to get the effect you want if linear isn't doing it.

  • HT1296 how do i make sure the changes i make on my iphone over-ride my contacts in yahoo and outlook?

    how do i make sure the changes i make on my iphone over-ride my contacts in yahoo and outlook?

    You can turn iMessage off on your iPhone.  That's relatively easy.  Since iMessage is an Apple product/service, I have no idea how a Samsung phone will deal with an incoming one.  For that answer you should probably contact Samsung support.

  • How can I make sure linked in contacts are only added once?

    For some reason the linkedin contacts are appearing endlessly in my mac address book. Every time I delete they come back - Very annoying especially since I have to delete folders manually one by one. How can I make sure linked in contacts only added once? And how can I delete from mac address book  in one go?

    If you installed software from LinkedIn to synchronize the contacts, refer to the developer for support. Otherwise, how did you import the contacts?

  • With Adobe Muse when I make a change I have a second Admin user how do we make sure these changes are not overridden

    With Adobe Muse when I make a change I have a second Admin user how do we make sure these changes are not overridden

    If you're both using Muse then it's no different than if you were both using PS, AI, Word, etc. You need to use a mechanism to enable you to both have access to the latest version of the .muse file (i.e. Creative Cloud Files folder, Dropbox, file server location, etc.).
    Changes made in the browser will sync back to the .muse file. Changes made in Muse are saved in the .muse file and if you're going to work on the site in Muse on two different machines then you need to have the up-to-date .muse file on the other machine.

  • How do I make multiple plain text links active (clickable) at once?

    I'm running Number 3.5.2 and I deal with a lot of documents that have long lists of URLs. Anytime I open a xls or numbers doc that already has the URLs pasted in, they're listed in plain text and not clickable. Is there a way that I can select all of them and make them active links, or at least do it in some reasonably scalable fashion?
    I've found how to use the "Add link" or even the "Open URL" options using the right click menu. And I know about changing the character style to "Link" to make it active. But these options are only available if I click and highlight the specific content in a single cell. It doesn't allow me to select multiple cells and make the change.
    I've also tried copying the URLs out of Numbers and into another program (text edit, email) but not too long ago it stopped letting me paste back in active links.
    Any help would be much appreciated!

    Hi jroos,
    The HYPERLINK function in another column.
    From the Function Browser:
    The HYPERLINK function creates a clickable link that opens a webpage or new email message.
    HYPERLINK(url, link-text)
    url: A standard universal resource locator. url is a string value that must contain a properly formatted universal resource locator string.
    link-text: An optional string value that specifies the text that appears as a clickable link in the cell. If link-text is omitted, url is used as link-text.
    Formula in C2 (and Fill Down)
    =HYPERLINK(B2)
    Then select Column C
    Copy
    Menu > Edit > Paste Formula Results
    Delete Column B
    Regards,
    Ian.

  • How do I make multiple screens transition?

    I have figured out how to make multiple camera angles play onscreen at one time, but I would like the layout to change while the video plays, how do I do this (or at least get started)?  I realize that this is probably basic, but I am making the move from basic editing in iMovie and it is proving painful.

    OK, so I am making a demo video for my live music show.
    I have three angles, one front, one of the guitar, and one of my feet.I have all three playing onscreen simultaneously in three screen panels on the main video screen.
    If I export it right now you see all three angles playing at once
    The layout is such that one angle is larger than the other two.
    I would like, at certain points in the video, to have the emphasis change, and have the video transition to one of the other panels getting larger, and the big one getting smaller.
    Does that help?
    Brady

Maybe you are looking for

  • Need help to get output in XML

    Hi all I am a PL/SQL programmer and have no idea about XML :-( I am using ORACLE 10g and my application generates atleast 100 text files a day for customers. These files are manipulated using Utl_File package and gets data from the DB.These files are

  • JRE 1.3.1 Won't Install on Win2000 -- Help!!!

    When trying to install JRE 1.3.1 (j2re-1_3_1-win.exe, size 5,239 KB, date 02/23/02) on a clean install of Windows 2000 with the latest Service Pack, I get the following error: "The NTVDM CPU has encountered an unhandled exception." It also appears in

  • REST call from PDf form returns error

    I have created a very simple process that allows a user to enter data into a PDF form and submit the form for archiving.  In the process I have used LC Output to flatten the PDF and I am using the Sharepoint connector to create and archive the docume

  • TSV_TNEW_PAGE_ALLOC_FAILED Dump in CRM

    Hi Experts, While accessing the custom componenet in CRM system we are getting the dump TSV_TNEW_PAGE_ALLOC_FAILED saying No more storage space available for extending an internal table. And we are not getting this dump every time we access this comp

  • ITunes to iPod syncing issues

    I updated my iPod a week ago (after installing OS.8), where by all my music was removed from my iPod, and I couldnt sync my music back on it. So I gave it a week for any bugs, etc... Have just been asked to update again so did that, but I still cant