Load different content in same page

Hello,
I am putting together a css site and have my css file working
and an html file that sets up my page how I would like. however I
don't have the nav bar working in an ideal fashion. Is it possible
to have different content load into the content area of my one html
file based on user nav menu selection? If it is not already clear,
I am new to this and any help is truly appreciated. Thank you,
John
btw,I am using CS4 design premium.

It's a bad idea for all the reasons we have already
mentioned.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"DWFAQ.info" <[email protected]> wrote in
message
news:gnticf$6mk$[email protected]..
> Hey John,
>
> You can have nav links display different content in body
all in one page
> with
> spry.
>
> Check out this for demos:
>
>
>
http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.ht
> ml
>
> You can also use SpryURLUtils.js to allow users to
bookmark individual
> links
> that are all located in one page.
>
> If spry dataset is received through
dynamically-generated xml from a
> database
> you can also setup a database-driven mirror of the pages
that can be
> crawled by
> search engines since no javascript is used in php
version of site. For
> instance you can have index.php that retrieves dynamic
xml dataset using
> spry
> to display pages and you can have index2.php that uses
php MySQL with url
> parameters ti display content through article id like
index2.php?id=1,
> index2.php?id=2, index2.php?id=3, etc. on the index2.php
version you can
> have
> a javascript that redirects javascript users to
index.php and keeps
> non-javascript users on index2.php
>
> Bottom line is it *can be done with bookmarks and search
crawl ability but
> it
> takes a little work and ingenuity. Question really
should be whether the
> effort is worth it to you or not...
>
> Hope that helps.
>

Similar Messages

  • Button to Load New Content on Same Page

    I'm not new but I don't design enough websites in a year to keep up with all the new technology & I'm afraid I've missed some of the basics along the way.
    I design my sites with DIVs within Dreamweaver CS5 & I want to have a button within a DIV that when clicked will change out the entire content of another DIV, including pictures & text, etc...
    Basically I want to load a new page within a DIV on the same page.
    Very similar to what I used to do with frames back in the old days.
    I'm guessing there's a simple solution but I don't even know where to start with this.
    Any suggestions or help here will be greatly appreciated.
    Thanks in advance.
    Jamaica John

    Basically I want to load a new page within a DIV on the same page.Very similar to what I used to do with frames back in the old days.
    Hi John,
    I hope you don't plan to build your entire site around this model.  If you do, your home page is going to take forever to load.  And people on dial-ups and mobile devices won't appreciate all that excess bandwidth.
    A well-conceived web site should have separate pages to deal with each topic.   Also, search engines will treat you better if your site has pages with unique <titles> on them.  To make a consistent looking site (with same menu, header & footer on all pages), consider using DW Templates or Server-Side Includes.  
    DW Templates ~
    http://www.smartwebby.com/web_site_design/dreamweaver_template.asp#1
    SSIs ~
    http://www.smartwebby.com/web_site_design/server_side_includes.asp
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • Hyperlinks directed to different section of same page?

    Is this possible in iWeb? What I want is to have a menu bar at the top of one of my pages that links to different sections of the same page since its a really long page. Any help would be greatly appreciated!

    There is a way using HTML snippets. See Peter Berglund's post in this thread: http://discussions.apple.com/message.jspa?messageID=9044022#9044022 and then go to his blog for more info.
    I've used it in the Contents page for my demo sites. The links in green are to "anchors" on the pages indicated.
    The hyperlink would be http://web.me.com/MMeAccount_Name/Site_Name/PageName#widgetX with X being the number of the widget just above the area you want to direct to. You'll have to publish the page and the change the X until you get the location you want (particularly if you have more than one widget on a page). The widgets are numbered in the order they were created.
    OT

  • Load different content by date

    I need to show "Animation 1" once a day, then show "Animation
    2".
    This is what I have so far, but it doesn't seem to work. Any
    ideas?

    It's a bad idea for all the reasons we have already
    mentioned.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gnticf$6mk$[email protected]..
    > Hey John,
    >
    > You can have nav links display different content in body
    all in one page
    > with
    > spry.
    >
    > Check out this for demos:
    >
    >
    >
    http://labs.adobe.com/technologies/spry/samples/data_region/DataWithURLParams.ht
    > ml
    >
    > You can also use SpryURLUtils.js to allow users to
    bookmark individual
    > links
    > that are all located in one page.
    >
    > If spry dataset is received through
    dynamically-generated xml from a
    > database
    > you can also setup a database-driven mirror of the pages
    that can be
    > crawled by
    > search engines since no javascript is used in php
    version of site. For
    > instance you can have index.php that retrieves dynamic
    xml dataset using
    > spry
    > to display pages and you can have index2.php that uses
    php MySQL with url
    > parameters ti display content through article id like
    index2.php?id=1,
    > index2.php?id=2, index2.php?id=3, etc. on the index2.php
    version you can
    > have
    > a javascript that redirects javascript users to
    index.php and keeps
    > non-javascript users on index2.php
    >
    > Bottom line is it *can be done with bookmarks and search
    crawl ability but
    > it
    > takes a little work and ingenuity. Question really
    should be whether the
    > effort is worth it to you or not...
    >
    > Hope that helps.
    >

  • Printing different photos on same page in PSE 8

    Is there a way to print 2 or more different photos on the same page?  If you know
    of a way please respond.  This is in Photoshop elements 8.
    Thank you,
    Ed Dunlap

    The help file in organizer will lead you to making a collage, using  pre-packaged templates. I like the versatility of making a collage manually.
    Open a new blank file in Editor (File>new>blank file). Enter height & width in inches. Color mode:RGB, Background color: your choice. White is default. Resolution: 240-300px/in for printing. It is desirable to have the resolution of the two pictures which you will be placing on the background to have about the same value
    Drag each picture up from the project bin to the background. Note that each picture will be on its own layer in the layers palette
    Access the move tool, and you can position each picture (on its respective layer), and resize it with the corner handles as necessary.
    HTH

  • How do i create a button which will show new content on same page?

    Hello,
    I hope someone can help.
    I have an image; it's a circle with different parts and different colors for each part. I inserted an image in this post.
    I want to be able to make a button out of each part (will do this with Photoshop), BUT i want to have a text shown on the right from the wheel if you click on a particle of the circle. So i don't want it to go to a new page, but i want to have a textframe to pop-up when you click. And when you click on a different part of the circle a new text will occur (and the old one won't show).
    Hope i made my question clear, english is not my motherlanguage so i'm sorry if my sentences are a bit weird.
    Thanks a lot, i hope it can be done with Muse! (This is a big part of the website.)
    best regards, bart

    Hello,
    You can achieve this using a blank compostion widget ot a tooltip widget.
    You would need to use "no fill" for the trigger containers so that they are transparent and then place them onto each portion of the image.
    Now when user clicks on that portion of the image, the trigger above it gets clicked and in a target container you can have the text displayed.
    The only issue here would be that the trigger containers would be of square/rectangular shape so you might not be able place them peroperly to cover all the sections of the image.
    Please refer to the video which might be helpful : http://tv.adobe.com/watch/muse-feature-tour/muse-trigger-target/
    Regards,
    Sachin

  • How to display content in same page when a custom command is clicked

    I have created a custom command and returned the following parameters in getLinkAttributes method but the content still opens in a window. How can I display the content in the same window/
    String editwindow = "open("iViewURL","windowName","javaScriptParam")";
    return new LinkAttributes(editwindow,"_self",true);
    Thanks in advance
    Vidya

    Hi,
    This is part of JPDK. You will have to install it. Which version of portal are you using? You can also try this out using
    URL portlet which is available with webview in 309.
    Thanks,
    Sharmila

  • Everytime I click on a link, instead of loading it on the same page it opens a new tab.

    Suddenly every time I click on a link, it opens it in a new tab i.e.; if I search yahoo from my home page, it opens yahoo in a new tab, then when I click on yahoo mail, it opens yahoo mail in a new tab, and then when I sign in, it opens yet another new tab, etc etc. I must have pressed something, but I don't know how to undo it.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Drop Down Menu on Page to Display Different Content

    I need to put a drop down menu into a page. People would be able to select form the menu and get different content on the page. These would not be links to other pages.
    I do not want the menu items to be links to other pages, but separate content all on the same page. Kind of like a anchor, but instead of all the text being displayed at once the text only displays when chosen from the drop down.

    You could also use jQuery to show/hide divs.
    http://jsfiddle.net/MdSTW/14/
    http://jsfiddle.net/NancyO/nFPuW/
    Nancy O.

  • How to open a link from search engine in the same page

    I just noticed that my links are opening in new windows instead of on the same page on Safari. Is there anyway I can change it back to where if I click on a link in the Yahoo search engine that it would just open within the same page without opening a new tab or window, where I can go back and forth between pages? For example, say I type in "wikipedia" on Yahoo home page and click search. Then it takes me to the Yahoo! Search Results page with a link to the Wikipedia website. When I click on that link, the Wikipedia home page loads right within the same page instead of opening a new tab or window and loading into that new tab or window. If I wanted to go back to the search results, I can just click the back button. I remember Safari doing that before, is there anyway to get back to that? Thanks.

    You can set the Integer pref <b>browser.link.open_newwindow.override.external</b> to "<i>1</i>" on the <b>about:config</b> page.
    *http://kb.mozillazine.org/about:config
    The browser.link.open_newwindow.override.external pref uses the same values as this pref for JavaScript window.open() calls.
    *http://kb.mozillazine.org/browser.link.open_newwindow.restriction

  • Apple TV 'an error occurred loading this content'

    Apple TV 'an error occurred loading this content'

    Having same problem :(
    3 days in a row. I can rent movies and give apple money - but i cant see the 2 movies i rented.
    This is a convinience product. This is inconvient and i cant count on using it when i want.

  • I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?  Next in Elements 11, how do I load and print different pictures and different sizes options on the same page?

    I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?  Next in Elements 11, how do I load and print different pictures and different sizes options on the same page?
    Thanks,
    Shir

    sbmgrams wrote:
    I have many photos with file extension of .PDD and that Photo Deluxe 4 no longer will operate in Win 7. How can I open?
    See here:
    Reading PhotoDeluxe PDD Files

  • How to load multiple HTML5 canvas on the same page (the proper method)

    Hi,
    I've been struggling to load multiple canvas animations on the same page. At the beggining I thought that exporting the movies with different namespaces and reloading the libraries in a sequential flow might work, but it doesn't. It always loads just the last animation loaded. More info here: Coding challenge: what am I doing wrong?
    Here is a sample of what I'm doing:
    1st: Publish two flash movies with custom namespaces for "lib" set in the "publish settings": "libFirst" and "libSecond".
    2nd: Edit the canvas tags in the HTML page. One called "firstCanvas" and the other one called "secondCanvas"
    3rd: Edit the javascript like this:
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsFirst = createjsFirst||{};
                var createjs = createjsFirst;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/first.js"></script>
            <script>
                function initFirstAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("firstCanvas");
                    exportRoot = new libFirst.first();
                    stage = new createjsFirst.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsFirst.Ticker.setFPS(libFirst.properties.fps);
                    createjsFirst.Ticker.addEventListener("tick", stage);
            </script>
            <script>
                // change the default namespace for the CreateJS libraries:
                var createjsSecond = createjsSecond||{};
                var createjs = createjsSecond;
            </script>
            <script src="//code.createjs.com/easeljs-0.7.1.min.js"></script>
            <script src="//code.createjs.com/tweenjs-0.5.1.min.js"></script>
            <script src="//code.createjs.com/movieclip-0.7.1.min.js"></script>
            <script src="{{assets}}/js/second.js"></script>
            <script>
                function initSecondAnimation() {
                    var canvas, stage, exportRoot;
                    canvas = document.getElementById("secondCanvas");
                    exportRoot = new libSecond.second();
                    stage = new createjsSecond.Stage(canvas);
                    stage.addChild(exportRoot);
                    stage.update();
                    createjsSecond.Ticker.setFPS(libSecond.properties.fps);
                    createjsSecond.Ticker.addEventListener("tick", stage);
            </script>
    <body onload="initFirstAnimation(); initSecondAnimation();">
    Could someone please reply with the best practice on how to do this? If possible, without the need to reload all the libraries...
    If I only need to show one flash movie at a time, would it be more efficient to cut & paste the canvas tag using jQuery in the DOM and reloading a different lib on it?
    Many thanks!
    #flash #reborn

    I was able to fix it. At the end, it was easier than I thought. Just have to publish using a different "lib" namespace for each movie, load all the scripts at the end of the <body> and then add the following to the onload or ready events:
    $(document).ready(function () {
            var canvas, stage, exportRoot;
            // First movie
            canvas = document.getElementById("firstCanvas");
            exportRoot = new libFirst.first();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libFirst.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Second movie
            canvas = document.getElementById("secondCanvas");
            exportRoot = new libSecond.second();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libSecond.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);
            // Third movie
            canvas = dument.getElementById("thirdCanvas");
            exportRoot = new libThird.third();
            stage = new createjs.Stage(canvas);
            stage.addChild(exportRoot);
            stage.update();
            createjs.Ticker.setFPS(libThird.properties.fps);
            createjs.Ticker.addEventListener("tick", stage);

  • Can you create an image map that will link to a different element on the same page?

    I have used image maps before and know how to create an image map to link to a new page.  In this case, however, I want to be able to click on my image using an image map and load a new image with text on the same page as the image map.  Is this even possible?  Is there some sort of behavior that allows you to create same-page links, perhaps using AP divs?  I want the end result to be a type of gallery that loads different images depending on where you click on the main image.
    Again, I don't even know if this is possible.  Any suggestions on how to make this work would be greatly appreciated.
    Thank you!

    Go to this site and mouse over the image map of South America.
    http://alt-web.com/testing.html
    Is that what you are looking for?
    Insofar as linking to a position on the same page, do a Help search (F1) in DW for "named anchors."
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • All my content appears on page load - is this Spry related?

    I remember having this issue when using Spry in the past. I changed the padding settings I think, and all the Accordions were open on page load - for only a second - and then closed.
    I'm working with a new site, and the template seemed fine but when I populate, all tabbed-content and a scroller content appear on page load. Then snap shut. Is it related? or a similar issue... I'm pretty desperate to be posting here but I it looks like the same sort of problem I had with Spry... maybe the template has been built with some of the same technology (?)
    http://bit.ly/ptaBVN
    Please help!

    Try this:
    1. Set a class that sets visibiliity to hidden:
    .hideGroup{visibility:hidden;}
    2. Add this class to your content group:
    <div class="SlidingPanelsContentGroup hideGroup">
    3. Add a line to sp_unobtrusive.js to remove this new class
    after the widget made.
    Spry.$$(".SlidingPanelsContentGroup").removeClassName("hideGroup");
    Add that right under the addEventListener lines.
    That should do it.
    Don

Maybe you are looking for

  • Windows 7 Freezes at Restart After Installing Boot Camp Drivers

    Hi, I have a MacBook Pro and am having troubles installing 32-Bit Windows 7. All seems to be functional until I install the Boot Camp drivers included on the Install Disk. I have tried using the Boot Camp 3.1 update, but the same problem occurs. Afte

  • Update of delivery date on purchase order line

    Hi, Is it possible that the delivery date in the purchase order is automatically updated. When the required delivery date changes in the sales order when there is a link between the two? If yes, how?

  • JButton in JDialog vs JOptionPane

    I have created two different JDialogs, one with JOptionPane and one in the old-fashioned way. My problem is that the buttons in the different JDialogs get different appearence (I'm usings javas Metal L&F). Take a look at this sample code: import java

  • Gantt Chart-Operations

    Hi Guys, In the production order(Go to->Graphic>Gantt Chart) i get the graphical representation of all the operations,Here my doubt is for each operation iam seeing a stick with two colors(Red & Green)What do they actually represent b cos two sticks

  • TS3297 itunes store will not open

    itunes store will not open