Getting PHP pages to display

I'm just getting started with Dreamweaver CS3. I think I set
up my site correctly in terms of the local, remote, testing server,
mysql connection info. When I bring up index.php in Live Data view,
it displays just as expected. The application that I'm working off
of is a predesigned Zen Cart open source PHP shopping cart.
What I'm trying to figure out is how to bring up other pages
that are normally created dynamically through multiple php include
files and templates. How do I do this? When I click on a php file,
say one that defines a div within another page, I get a message:
Access forbidden! Can I actually bring up a "subtemplate" without
running something else? Do I maybe have my settings wrong? Do I
need to bring up a parent file (not sure how)?
One reason I think I might have the settings wrong is that in
Map view for the file directory, it only shows index.php linking to
application_top.php, which has 3 sublinks (configure.php,
configure.php, autoload_function.php) and when I hover over them,
their path is includes/includes/etc. , which I think is wrong b/c
it should just be includes/etc.

Hi
Simply include your normal link styles in the visited one, e.g.
a,  a:link {
    color: #30C;
    text-decoration: none;
/* Sets the style for visited links. */
a:visited {
    color: #30C;
    text-decoration: none;
PZ
www.pziecina.com

Similar Messages

  • Get plugins page is displayed in a different language then my firefox language

    The get plugins page inside the plugin manager is displayed in german eventhough my firefox is in turkish.

    Clear the Google cookies: Tools > Options > Privacy > Cookies: "Show Cookies"
    If the Google (Firefox) or Yahoo home page is in the wrong language then see:
    * Google: http://www.google.com/support/bin/answer.py?answer=873
    * Yahoo: http://help.yahoo.com/l/us/yahoo/homepage/troubleshooting/troubleshoot-02.html
    Your above posted system details show outdated plugin(s) with known security and stability risks that you should update.
    # Shockwave Flash 10.1 r53
    # Java Plug-in 1.6.0_05 for Netscape Navigator (DLL Helper)
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    Update the [[Shockwave|Shockwave for Director]] plugin to the latest version.<br>
    *http://www.adobe.com/shockwave/welcome/
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Exporting using 'interactive pdf' - how can i get single pages to display?....

    Rather than it pdf'ing in spreads.  When I use the 'Print pdf' it is fine I can get single pages!  Thanks!

    Which application are you talking about? I'm guessing it's InDesign, but this is the forum for Adobe Acrobat. InDesign's export system doesn't use Acrobat at all, and it will *always* export spreads when you choose Interactive PDF, as that workflow was designed for use with 1-up layouts intended for screen display.
    There are some workarounds involving re-saving your file without facing pages, but until we get the dialog updated there's no hassle-free solution.

  • How do I get my page to display correctly in IE?

    I am redesigning my template, and I have posted the current result here:
    http://www.bikeraceinfo.com/test5.html
    Most of the CSS is in the document itself (I've left in the comments until I get done, sorry it's so long; DW put most of it there), but the CSS for the menu (the main problem) is here:
    http://www.bikeraceinfo.com/menu4.css
    The menu works fine in Opera, Firefox, and Chrome. Then there's IE (I'm testing it in 8). The menu is all spread out vertically (items too far apart), and the while the sub-menu shows up when you hover over the main title, it doesn't stick around long enough to choose a sub-item (unless you mouse really fast).
    IE behaves enough differently than the other three that I feel there must be some single line of code that IE wants in order to render correctly.
    Another thing that happens in all of them: when you get the mouse near the menu, all of the type on the page gets an underline, like it's linked to something. IE goes one further and puts a red box around the graphic in the sidebar.
    Help! Thanks---

    The DW built in scripting will do that, those specific to the DW generated scripts are  not an issue.
    The missing end tags are a big issue though. None of your links in your menu have an end tag </a>, you are also missing a few </li>, that causes the rest of your page to basically become a link since the browser doesn't understand what you're trying to do. That is not part of any pre-made template I've ever seen in DW.
    You also have <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> at the beginning of your page, that needs to go completely. That gets added when you accidentally choose "ASP Javascript" when creating a new page rather than "HTML".
    There is a meta tag outside the <head> area of your code, that needds to be moved between your head tags. You also forgot to self close the keywords and description meta by using /> instead of > (not a major issue, but due to doctype, should be fixed)
    Because you're missing an ending </p> tag at about line 287 you'll get errors involving a lot of the remaining tags saying something to the effect of "canot go here, missing object..."

  • I am trying to set up virtual servers with Netscape Enterprise Server 3.6. Can get home page to display but images linked to the page won't display and links to other pages won't work.

     

    hi,
    If your home page of the virtual server is displayed then,you have set the virtual server properly.
    check the links and source of the images or directories in the HTML source code of the home page.
    this should solve ur problem. If not notify me.
    Regards
    T.Raghulan.
    [email protected]

  • After upgrading to FF 3.6.12 I can no longer view PHP pages from my hard drive.

    After upgrading to version 3.6.12 I can no longer open PHP web pages from my hard drive. When I create or edit web pages I view them from my hard drive first before uploading, as many webmasters do to look for errors before taking them live.
    I can view PHP pages online, but from my hard drive it just spawns endless empty tabs. Instead of just opening the page it asked me what to open it with, thinking the PHP web page is a script.
    It was working fine before the upgrade. I had a page open that I wanted to edit, which it reopened when my browser restarted.
    Then I edited the page. All I did was add a link to it. Then I hit the refresh button to see the change and instead of reloading the page, FF asked me what to do with the PHP script, prompting me to save it or choose what program to open it with.
    I selected to view it with FF and it just spawned endless tabs. They wouldn't stop. Had to shut down FF and it probably had 40 tabs opened with nothing on them. I tried other PHP pages from my hard drive that opened fine before, but it did the same thing with them.
    I tried finding help online and I see others have had the same problem, but no solution was offered that worked. I tried rebooting, same story, it wants to know what to do with the PHP script.
    I'm being forced to use another browser, so I'm going to go download Chrome now. If this probably isn't fixed soon I'll simply give up on FF. It's not worth the aggravation. I can't tell you how much TIME I've wasted today -- HOURS.
    Very disappointed.

    Thanks for the reply. It doesn't have to process the php, it just has to show the HTML content. It did that just fine before the last upgrade but won't now.
    I've seen that page you referenced: http://kb.mozillazine.org/File_types_and_download_actions.
    It doesn't help. The things it says to look for aren't there for me, specifically:
    browser.download.pluginOverrideTypes
    plugin.disable_full_page_plugin_for_types
    I followed the rest of the instructions but it didn't help.
    I did get it to quit opening tabs, instead it prompts me what it should do with the file every time now. What it should do, and used to do, is open the php page and display the HTML content.
    Any other ideas?

  • How do I get the page on the screen larger and to stay larger all the time?

    my pages on my screen were large; all of a sudden the pages are display smaller on the middle of the screen. I can zoom a particular, but I have to zoom each time I go to another website or another page. How can I get the page to display larger without having to zoom each page displayed on the screen?
    == This happened ==
    Every time Firefox opened
    == After i downloaded updates to Adobe Reader 9.

    Reset the page zoom on pages that cause problems: '''View > Zoom > Reset''' (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages
    If you need to adjust the font size on websites then look at:
    Default FullZoom Level - https://addons.mozilla.org/firefox/addon/6965
    NoSquint - https://addons.mozilla.org/firefox/addon/2592

  • How do I get php files to render in Live View

    I'm using CS4 and have just found that I can't get php pages to render in live view.  I have no problems with html pages. Help

    Hi,
    his thread could solve your problem: http://forums.adobe.com/message/2610272 "DW CS4 - Design/Live view not available with PHP" where David Powers (nr. 5) answered in this way:
    Have you changed your preferences to open PHP pages in Code view?
    In the File Types/Editors category of Preferences, if you add .php to the list of file name extensions in "Open in code view", it disables Design view and Live View for that type of file.
    Hans-G.

  • Overview page toggle Display -Edit - Display

    Hi Experts,
    I have a overview page and search page in my component, I select a record from search and navigate to overview page.
    The problem is , I have to get overview page in display or edit mode on the basis of button selected in search page, and there will be a button in overview page which will togle from display mode to edit mode.
    I am getting overview page in edi tmode by default.
    Could you please help me out to toggle the overiew page from Display- edit - Display.
    Thanks in advance
    Madhu Omer

    I am able to make my view by default in display mode by writing code in html page of view:
    <chtmlb:config xml  = "<%= controller->configuration_descr->get_config_data( ) %>"
                   mode = "RUNTIME"
                   displayMode = "<%= controller->view_group_context->is_view_in_display_mode( controller ) %>" />
    and in set_view_group_context method of main window:
    method SET_VIEW_GROUP_CONTEXT.
      IF iv_first_time EQ abap_true AND
           me->view_group_context IS NOT BOUND.
        IF iv_parent_context IS INITIAL.
          CREATE OBJECT me->view_group_context
            TYPE cl_bsp_wd_view_group_context.
        ELSE.
          me->view_group_context = iv_parent_context.
        ENDIF.
      ENDIF.
    endmethod.
    To edit your view , write below code on your edit button:
      DATA: lr_cn  TYPE REF TO cl_bsp_wd_context_node,
            lr_ent TYPE REF TO cl_crm_bol_entity,
            lr_vgc type ref to if_bsp_wd_view_group_context.
    Get current AdminH-Entity
      lr_cn = me->get_context_node( gc_clnobj ).
      check lr_cn is bound.
      lr_ent ?= lr_cn->collection_wrapper->get_current( ).
      CHECK lr_ent IS BOUND.
      IF lr_ent->is_locked( ) = abap_true.
        me->view_group_context->set_all_editable( ).
        lr_vgc ?= view_group_context->get_dependant_vg_context( ).
        lr_vgc->set_all_editable( ).
      ELSE.
        lr_ent->lock( ).
        IF lr_ent->is_locked( ) = abap_true.
          me->view_group_context->set_all_editable( ).
          lr_vgc ?= view_group_context->get_dependant_vg_context( ).
          lr_vgc->set_all_editable( ).
        ENDIF.
      ENDIF.
    Edited by: Madhu Omer on Apr 3, 2011 12:00 PM

  • PHP page link is trying to download instead of displaying

    Hello -
    I created a php login page that had User Authentication and a
    Dynamic List on it. The login page was displayed when a user
    clicked on a button from a previous page. At the beginning the php
    login page would display correctly after pressing the button from
    the earlier page, but while I was working on the login page itself
    I would just display it (press F12). After I thought I was almost
    done, I tried to get to the login page from the button but it
    didn't work anymore! I get asked if I want to save or open the
    file, then when I select Open it takes me to Dreamweaver. I have
    taken out all of the connnections to the database (php code) to see
    if it would make the php file show up again, but it doesn't. Can
    anyone tell me what is going on here?

    Sounds like you need to speak sternly to your host.
    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
    ==================
    "ncPurcell" <[email protected]> wrote in
    message
    news:fphp2m$rq7$[email protected]..
    > It is trying to download the file instead of displaying
    it. I don't know
    > what changed to make it do that. I created another php
    file and it does
    > the same thing :O(

  • Can't get db connected PHP pages to work

    I have a few sites that are PHP and MySQL. Some of the pages are simply static content, but have the suffix of PHP, so don't need to call content from a database. Other pages that have database served content are not displaying, and also, I am not getting any error messages to help.
    Ordianrliy, I develop with ASP, so I have used the IIS-AID installer which installs PHP inside the IIS rather than under apache. I did have my PC set up in the same way previously, but unfortunately, my disk died and I have had to start from scratch and now can't get DB content pages to display.
    I have ran the <?php phpinfo(); ?> and I am getting the php details page as proof that php is working.
    I have the Server name, DB names, username and password correct in the connections file.
    I have just tried double clicking the database in the DW Databases panel and tested the connection there, and I got this message:
    "Your PHP server doesn't have the MySQL module loaded or you can't use the mysql_(p)connect functions."
    I have no idea what that means, so would appreciate your advice on this.

    Probably MySQL is not installed?
    Found this installation guide on IIS-AID website, might be helpful:
    http://www.iis-aid.com/articles/how_to_guides/install_and_configure_mysql_5_on_windows

  • Getting a Page Cannot be Displayed error while uploading a Contract Document in SAP E-sourcing for size 500mb

    Hi Guys,
    I am getting a Page can not be displayed error while uploading a COntract Document in SAP-E-soucing 7.0.
    Maximum Size set in Our SYSTEM is :9765MB.
    Approx size of the Document tried is more then 300MB.
    Appreciate your help on this.
    Regards
    Tarun

    Hi Tarun,
    Please check the below system properties using system user login
    attachments.maxSizeKB.buyers - "Maximum size in KB of a employer-attached attachment file"
    attachments.upload.enable.buyers-  " Enable/Disable uploading of attachments by internal users"
    Also Please check with other attachment, contracts related properties in the System.
    Let me know if this helps.
    Thanks,
    Raj.

  • How can I get a Japanese flash web page to display 100% correctly?

    I've tried everything I can think of but I can't get some of this web site's font to display correctly. Some of the flash shows in the correct, Japanese, characters, but some of it shows as code. If I log in as a different user, and set that user's International Language preferences to Japanese, the web page displays correctly. But, when I change users, and go back to the English user, the page displays in a mix of Japanese and messed-up code.
    Here is the page: http://weathernews.jp/livecam/
    If I click onto a different page of that website, http://weathernews.jp/map/
    the writing appears as Japanese in the box, at the bottom of the map.
    But, if you click on that map, and zoom in 3-times, to the city level, the font in the box under the hourly weather and weekly weather appears as code, and not Japanese.
    I'm guessing that it is a problem with the computer booting-up as being English or Japanese, and the browser, then not being able to detect which version of flash to run, the Japanese or English version, cannot display the font correctly.
    Why does it happen only on some pages and not all of the pages on that site?
    Can it be fixed?
    If so, how?
    Thanks!

    Yeah, I tried Opera and Firefox, but I get the same garbled text. The only thing that makes that page open and display correctly is switching to a different user, and making that user's main language Japanese, in the international settings.
    Of course none of this is all that important, I mean, it's about viewing a weather page, but I am just curious why some of the Flash is read or written so that an English language set user can see some of it displayed correctly, but not all of it, where as a user set to Japanese language settings can get all pages correctly.
    I know it has to do with how the Flash Macromedia sees the main language setting for the computer, but what I don't get, is how come a user using Japanese as the main language can read English and Japanese Flash pages (pages with English commanded Java come up correctly), but using English as the main language only allows me to view Flash pages written using English commands. Can I change my Flash program to read Japanese pages, without changing my computers main language to Japanese? Or am I stuck with a Flash program that must match the main language the user is using?

  • Footer displayed inaccurately in Dreamweaver CS4 php page

    Hi,
    I recently upgraded from Dreamweaver 8 to Dreamweaver CS4. Our organization site uses mostly php pages. When I attempt to open these pages in Dreamweaver CS4 the footer menu bar displays innacurately down through the center of the page and won't allow any edits as it acts like a top layer or something. Usually it acts as a menu bar on the top of any page on our website.
    As it should appear from an online screen shot: You'll notice the orange menu bar across the top.
    A shot of the Design View in Dreamweaver CS4:  You'll see the menu options are running down the center of the page as text.
    This is the code : Can also be visited at www.axisdance.org
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>
    This seems like a simple solution but I'm just not sure what it would be.
    Thanks

    The live view or preview functions do not work and lead to the error: "Not Found, the requested URL/html/index.php was not found on this server.'   This is another issue that I don't understand.
    Unfortunately, I did not develop this website and have a minimal knowledge of html and Dreamweaver.  I'm not sure if I can answer the question about which menu system we're using - would seeing the code of the footer help?   I'll paste below in case.  
    And just to be clear, the problem only occurs in editing in Dreamweaver, but when uploaded to our server it appears correctly.
    Thanks for your help!
        <div id="footer">AXIS Dance Company &middot; 1428 Alice Street, Suite 200 &middot; Oakland, CA 94612<br />
            Phone: 510-625-0110 &middot; Fax: 510-625-0321
        </div><!--end footer-->
        <div id="navBar"><!--<a name="navigation" class="minimize"> </a><br />-->
            <!-- begin list for menu-->
            <ul id="udm" class="udm">
                <li><h2><a href="index.php">home</a></h2>
                </li>
                <li><h2><a href="about.php">about us</a></h2>
                    <ul>
                    <li><a href="about.php">About AXIS</a></li>
                    <li><a href="about_news.php">News</a></li>
                    <li><a href="about_mediaKit.php">Media Kit</a></li>
                    <li><a href="about_dancers.php">Dancers</a></li>
                    <li><a href="about_staff.php">Board & Staff</a></li>
                    <li><a href="about_jobs.php">Jobs & Auditions</a>
                    <ul>
                        <li><a href="about_internships.php">Internships</a></li>
                        </ul>
                    <li><a href="about_faq.php">FAQ</a></li>
                    <li><a href="about_contact.php">Contact Us</a>
                        <ul>
                        <li><a href="about_contact_directions.php">Directions</a></li>
                        </ul>                   
                    </li>
                    </ul>
                </li>
                <li><h2><a href="performance.php">performances</a></h2>
                    <ul>
                    <li><a href="performance.php">Performance Calendar</a></li>
                    <li><a href="performance_repertory.php">Repertory Clips </a></li>
                    <li><a href="performance_gallery.php">Image Gallery</a></li>
                    <li><a href="performance_reviews.php">Reviews</a></li>
                    <li><a href="performance_booking.php">Booking AXIS</a></li>
                    <li><a href="performance_collaboration.php">Collaborating Artists</a></li>
                    </ul>
                </li>
                <li><h2><a href="education.php">education</a></h2>
                    <ul>
                    <li><a href="education.php">About Education </a></li>
                    <ul>
                        <li><a href="kids.php">Dance Access/KIDS!</a></li>
                        <li><a href="Adults.php">Dance Access (Adults)</a></li>
                        </ul>
                    <li><a href="education_danceAccess.php">Class Schedule</a></li>
                    <li><a href="education_hiring.php">Booking Dance Access</a></li>
                    <li><a href="education_summerIntensive.php">Summer Intensive</a></li>
                    <li><a href="education_resources.php">Resources</a>
                        <ul>
                        <li><a href="education_resources_videos.php">Media</a></li>
                        <li><a href="education_resources_articles.php">Essays & Articles</a></li>
                        <li><a href="assets/teachersGuide.pdf">Teacher's Guide (PDF)</a></li>
                        </ul>                   
                    </li>
                    <li><a href="education_likeUs.php">Companies Like Us</a></li>
                    </ul>
                </li>       
                <li><h2><a href="support.php"> support </a></h2>
                    <ul>
                    <li> <a href="support.php"> Ways to Support</a></li>
                    <li><a href="support_volunteering.php">Volunteering</a></li>                   
                    <li><a href="support_mailingList.php">Join Mailing List</a></li>                   
                    <li><a href="support_store.php">AXIS Store</a></li>                   
                    <li><a href="support_funders.php">Funders &amp; Donors </a></li>                   
                    <li><a href="support_webSupporters.php">Web Supporters</a></li>                   
                    </ul>
                </li>
            </ul>
            <img src="images/shim.gif" width="800" height="1" border="0" alt="navigation bar" /><br />
        </div><!--end navbar-->
    </div><!--end center-->
    <div id="copy">
        <div id="right">&copy; 1999-2010. AXIS Dance Company  <br>
            <a href="http://www.facebook.com/pages/AXIS-Dance-Company/56899952604?ref=ts" target="_blank"></a> <a href="http://www.youtube.com/user/AXISDanceComp" target="_blank"></a> <a href="http://www.axisdance.org/support_mailingList.php" target="_blank"></a><br />
        </div>
        <div id="powered"> </div>
        <div class="clear"> </div>
    </div><!--end copy-->
    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    try {
    var pageTracker = _gat._getTracker("UA-10598516-1");
    pageTracker._trackPageview();
    } catch(err) {}</script>
    </body>
    </html>

  • How do I display or hide a Java menu based on current url in a php page

    How do I display or hide a Javascript menu based on the current url in a php page?
    I want to specify when a java menu appears on a page based on the current url - does anyone have a script for the vars and conditional statements to make this happen - it would be something like this in natural language:
    <javascript>
    if currenturl = http://jemmakidd.com/categories.php
    then displaymenu
    else if currenturl = http://jemmakidd.com/categories.php?cat=14 (or 15,16 etc)
    then DONOTdisplaymenu
    What is needed is that, if you look at this page there is a java menu under the first category:
    http://jemmakidd.com/categories.php
    I WANT the menu to appear on that page so that is working, however if I look at one of the store categories, like on this page, I do NOT want the menu to appear - it may be that this can be done without using a java current url type function - thats why I'm asking...
    http://jemmakidd.com/categories.php?cat=14
    So to summarise:
    http://jemmakidd.com/categories.php (If this url is used DO display menu - if any other url DONT display menu)
    Thanks again...any ideas?
    Edited by: littlealex2009 on Jul 15, 2009 12:51 AM

    This is a Java forum, not a Javascript forum. Google the differences.
    kind regards,
    Jos

Maybe you are looking for