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

Similar Messages

  • 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

  • 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.
    >

  • New details on same page won't insert

    Hi,
    I am not able to get a master-detail-on-same-page to work properly.
    It is created with a wizard.
    After adding the first row and entering data, the row is lost when clicking Apply Changes of the master.
    The row is not inserted in the database.
    When I first add a second row without entering data, the first row is inserted when clicking Apply Changes of the master.
    Also when adding the second row, an extra Apply Changes button appears for the details.
    I am using theme '14. Modern' in APEX 3.0.1 on 10g XE.
    Any help will be welcome,
    Martijn

    Hi again,
    The same problem can be seen when following the Advanced Tutorial topic 'How to Create a Master Detail PDF Report'.
    After following the instructions you get a report with master detail form.
    When all detail rows are deleted, the Apply Changes button of the details table disappears.
    You now can add a fill in a new row. However the Apply Changes button won't save your new detail row. Though adding a next row without entering data will save the first row, and the Apply Changes button reappears.
    So, after all the job is done. However it is not the way of working we will instruct end users.
    Is their a way to get the Apply Changes reappear just after adding the first row?
    Thanks in advance,
    Martijn

  • How do you link a button to a image on the same page?

    I created a photoshop button and pulled it into my Muse website, and I want to link it to an image on the same page. I have a slide show set up, and this way I could have a secondary menu with buttons corresponding to each image in the slideshow. I can only find the option to link the button to another page, or link it to an external website. Help!

    Hi avary.s
    "Image Option" : http://prntscr.com/svhz7  Tells that its actually the whole image that is being placed within this slide show container.http://prntscr.com/svhz7 check : http://prntscr.com/svine
    However, "Hero Image" as show in screen shot provided in above reply, is a container which shows the edited part of  the complete image : check :  http://projectuni01.businesscatalyst.com/screenshots/2013-02-16_0217.png
    So in this case, In slideshows, the links are actually get applied on Hero image or on the slideshow containers.
    I hope this information helps
    Regards
    Anshul Sharma

  • Display Link in New Region on Same Page

    Hi,
    I am trying to figure out how to make a page link within a region post to a different region on the same page or at least in a new window instead of the same window.
    Thanks In advance,
    Emily

    Pedro,
    Here's a little bit more information about what I am trying to do because the idea with the HTML portlet isn't going to work due the application I am developing.
    The idea is this:
    I have about 100 or so images that report server statistics in png format that are already automatically updated every 10 minuets. What I would like to have is a situation where you have region 1 and region 2 right next to each other. In region 1 are all of the links to the locations of the images (which like I said are already automatically updated with PERL). When you click on the link in region 1, I would like it to show up in region 2. similar to old html frames or iFrames.
    Any Suggestions? I am having a hard time with trying to figure out (despite all the "official" oracle books at my disposal) how to have one region display into a different one to suit this need.
    Thanks in advance
    Emily

  • Make buttons refer to other places on same page

    Hi,
    I was wondering if i could make my buttons link to other places on the same page, so you'll automaticcaly scroll down to the right part of the site.
    I know how to link to other pages but not likes this.
    If my explanation still makes some of you doubt in what i'm saying here a link.
    http://www.boomverzorgingleuridan.be/
    If you click on the buttons of the menu, you'll notice what i'm trying to get.
    Thx!

    Those are just anchor links. Here's a video tutorial on how to go about doing that in Muse - http://tv.adobe.com/watch/muse-feature-tour/muse-create-anchor-links/.
    Thanks,
    Vinayak

  • Triggering new window in same page

    Hi,
    can Any one tell me how to trigger a new window in the same page..... I mean how to display the data in news paper format
    ie; when the data is completed in 1st column it should continue in the 2nd column of the same page.........

    well,
    The businees requirement is .... the data should be displayed in newspaper format (column wise). ie; the windows are side by side in a page .... after finishing to print the data in 1st window it should continue in second(side) window of the same page rather than proceeding to a new page window.... I think this expalins my requirement...

  • 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

  • Adding New Data To Same Page - HELP

    I am trying to put together a invoice on the fly, the products are added to the invoice by selecting the disired product from a drop down menu and hitting the add button. You SHOULD then be able to select more products from the same drop down menu and htting add again will include it in the invoice.... simple?? Well the problem i have is that when i hit the add button to add another item it just replaces the one i have already added.... this is very annoying... i cannot think of a way to take the product data through the form submission ready for adding too.
    Any Ideas this is really bugging me, and the more time i spend on it, the worse its getting. Code Below
    <%@ page buffer="32kb" %>
    <%@ page import="java.sql.*, javax.servlet.ServletException, java.io.IOException, com.stock_control.*" %>
    <%!
    String convertResultsToSelect ( ResultSet rs, String selectName, String idCol, String descCol ) throws SQLException
    StringBuffer sb = new StringBuffer ( "<select name=" + selectName +">" );
    if (rs != null) {
    while (rs.next()) {
              sb.append ( "<option value=" );
    sb.append ( rs.getString(idCol) );
    sb.append ( ">" );
    sb.append ( rs.getString(descCol) );
    sb.append ( "</option>" );
    sb.append ( "</select>" );
    return sb.toString ();
    %>
    <html>
    <head>
    <title>Members Area - Stock Check</title>
    </head>
    <body bgcolor="#CCCCCC" topmargin="0">
    <%@ include file="topConn.jsp" %>
    <%
              String msg = "";
              String name = "";
              String address1 = "";
              String address2 = "";
              String town ="";
              String postcode = "";
              String country = "";
              String phone = "";
              String mail = "";
              String comments = "";
              float total = 0;
              int nextFree = 0;
              String prodResults;
              int numberOfItems = 0;
         String shop = (String)session.getValue("SHOP");
         String selectProd = "SELECT ProductID, ProductName FROM product WHERE ShopID=";
         rs1 = stmt.executeQuery(selectProd+shop);
         prodResults = convertResultsToSelect( rs1, "product","ProductID","ProductName");
         rs = stmt.executeQuery("SELECT COUNT(*) AS stockLevel FROM product WHERE ShopID ="+shop);     
    while(rs.next())
         numberOfItems = rs.getInt("stockLevel");
         Product[] products = new Product[numberOfItems];
    if (request.getParameter("add")!=null)
              // get values from all text boxes....
              name = request.getParameter("name");
              address1 = request.getParameter("address1");
              address2 = request.getParameter("address2");
              town = request.getParameter("town");
              postcode = request.getParameter("postcode");
              country = request.getParameter("country");
              phone = request.getParameter("phone");
              mail = request.getParameter("mail");
              comments = request.getParameter("comments");
                   // add data from dropdown
              String newProduct = request.getParameter("product");
              //connect to database and put product data into array + increment
                   int thenewid = 0;
                   String theName = "";
                   float thePrice = 0;
                   String nono = "0";
              String getProd = "SELECT * FROM product WHERE ProductID=";
              rs = stmt.executeQuery(getProd+newProduct);
              if(rs.next())
                   thenewid = Integer.parseInt(newProduct);
                   theName = rs.getString("ProductName");
                   thePrice = rs.getFloat("SalePrice");
                   Product addProduct = new Product(thenewid, theName, thePrice, nono);
                   products[nextFree] = addProduct; //PROBLEM
                   nextFree++;
    // reload page with new data in form
    //for loop arround array     
    %>
    <form method="GET">
    <div align=center>
    <p>
    <%=prodResults%>
    <input type="submit" value="Add" name="add"></p>
    <TABLE width=100% height="1">
    <TBODY>
    <tr>
    <td width="4%" height="19"> </td>
    <td width="96%" height="19"> 
    </td>
    </tr>
    <tr>
    <td width="4%" height="198"> </td>
    <td width="96%" height="198">
    <div align="center"></div>
    <table border="0" cellpadding="2" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber5">
    <tr>
    <td width="4%"> </td>
    <td width="15%"><font face="Verdana" size="2">Customer Name</font></td>
    <td width="30%"><input type="text" name="name" size="30" value="<%=name%>"></td>
    <td width="19%"><font face="Verdana" size="2">Customer Phone #</font></td>
    <td width="26%"><input name="phone" type="text" size="30" value="<%=phone%>"></td>
    <td width="6%"> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font face="Verdana" size="2">Address Line 1</font></td>
    <td><input type="text" name="address1" size="40" value="<%=address1%>"></td>
    <td><font face="Verdana" size="2">Customer E-mail</font></td>
    <td><input name="mail" type="text" size="30" value="<%=mail%>"></td>
    <td> </td>
    </tr>
    <tr>
    <td height="32"> </td>
    <td><font face="Verdana" size="2">Address Line 2</font></td>
    <td> </td>
    <td><font face="Verdana" size="2">Comments</font></td>
    <td width="26%" rowspan="5"><p>
    <textarea name="comments" cols="29" rows="5"><%=comments%></textarea>
    </p>
    <p>  </p></td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="2" face="Verdana">Town/City</font></td>
    <td><input name="town" type="text" size="40" value="<%=town%>">
    <input name="address2" type="text" size="40" value="<%=address2%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="2" face="Verdana">Post Code</font></td>
    <td><input type="text" name="postcode" size="10" value="<%=postcode%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td><font size="2" face="Verdana">Country</font></td>
    <td><input type="text" name="country" size="40" value="<%=country%>"></td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="24"> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    <tr>
    <td height="23"> </td>
    <td><strong><font size="2" face="Verdana">Product Code</font></strong></td>
    <td><strong><font size="2" face="Verdana">Name</font></strong></td>
    <td><strong><font size="2" face="Verdana">Price</font></strong></td>
    <td> </td>
    <td> </td>
    </tr>
    <%
    if (request.getParameter("add")!=null)
    for(int i=0; i<nextFree; i++)
    Product temp = products;
    int prodID = temp.getid();
    String prodName = temp.getname();
    float prodPrice = temp.getprice();
    total = total + prodPrice;
    // work out total on the fly
    %>
    <tr>
    <td height="23"> </td>
    <td> <font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=prodID%> </font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=prodName%></font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">&pound;<%=prodPrice%></font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    <td> </td>
    </tr>
    <%
    %>
    <tr>
    <td width="4%" height="23"> </td>
    <td width="15%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    <td width="30%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
    <td width="19%"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Total:</font></strong></td>
    <td width="26%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><%=total%></font></td>
    <td width="6%"> </td>
    </tr>
    </table>
    <p align="center">
    <input type="submit" value="Continue" name="continue">
              </form>
    </p>
    </td> </tr> </TBODY></table>
    <%@ include file="bottomConn.jsp" %>
    </body>
    </html>

    anyone?

  • 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

  • Running Firefox 11.0 on WinXP about:config value browser.newtab.url is missing and no way to load new tabs with home page. How do I fix this ?

    Every tab opened from new tab box opens blank. there is no value in about:config to change. Can browser.newtab.url be added ?

    https://addons.mozilla.org/en-US/firefox/addon/custom-new-tab/
    # Download the Addon above.
    # After it installs, go to the Firefox Menu or Tools > Addons > Extenstions > Custon New Tab > Prefrences Button
    # A new window should show like this. Type in what you want to load on a new tab.

  • Displaying dynamic news content on all pages

    I want to display content edited on one webpage on multiple
    pages on the site instantly. How may I do this with Dreamweaver
    8?

    Your question is somewhat confusing?
    When you say the content is edited on one page, do you mean
    that you are editing it in dreamweaver or it is being dynamically
    edited on the page itself?
    Possible solutions are:
    Put your content in a DB and kick it out to all pages
    Use SSI

  • 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.

Maybe you are looking for