Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Sep 2009
    Posts
    2
    Member #
    19952
    Not sure if it should be in here or html help..but ahh well..

    So i've got this new website i'm working on for my auntie's dry cleaning company

    you can check it out at baysidedrycleaners.com.au its not much at the moment but i'm getting there.

    You may have noticed that the specials and agents pages do not work.
    Specials i'm not to worried about at the moment but i'm currently working on the agents page.
    What i'm trying to do is, have a dropdown box on the agents page and when you click on one of the agents from the list (most likely listed by suburb) on the same page information about that agent will be displayed (address and what not) without actually navigating away from the page.

    I hope you understand what i'm trying to do. I'm trying to reduce clutter as much as possible, so hopefully you can understand why I just want to use a dropdown in this fashion.

    HELP IS APPRECIATED

    also other ideas are welcome, but don't start dissing my n00by coding skillz.

    Thankyou!

    Jake

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    You could use an <iframe>.

    The inline frame would be the part on the right side of the vertical line.
    When clicked on agents, it would open the stuff in the iframe on the right side.
    This would happen without refreshing the page.

    It would also make the "agent" link (on the left) stay the same.
    That link would not need to be a drop-down menu or "selection" box.

    If refreshing the page is OK, then it would be done without the iframe,
    using some PHP content switching on the right side.

    One problem with iframe is that you need to define its size on your page,
    and that size stays the same. If your content in the iframe gets too big,
    a scrollbar will appear. That may not be something you want.

    I guess it depends on how much content will appear on your page.

    The location and agent stuff could utilize Google Maps too.
    And you could store that information in a database (MySQL)...
    Like a profile for each agent along with GPS coordinates for Google Maps.

    ============= suggestions for other stuff ===========
    Move the top up on the browser ... too much blank space on top.
    With IE6, the right side overflows and drops down under the nav.
    You can make the Google Maps smaller and let the user zoom in.
    Put all locations on the same Google Map with A,B,C ... etc.
    Have a customer log-in so they can check status of their items.
    You can use PHP scripting with the .htm extension by setting it in .htaccess


  4. #3
    Junior Member
    Join Date
    Sep 2009
    Posts
    2
    Member #
    19952
    Hmm i just tested it out on IE6 i'm not getting any overflow.
    Maybe cos I'm running 1680x1050?
    Weird.
    Anyhow.
    Where would you suggest putting the 20 or so agent locations if they weren't in a drop down?
    And yeah, I 'sort of' understand most of what your saying..I'll have a more in depth fiddle with what you've suggested; but my coding knowledge kind of dies at style sheets and simple javascript. I'm also just getting used to cPanel, and i have no idea about mySQL or anything. but of course I'm willing to experiment.
    So I'll jump into it tomorrow night and then reply back to this topic with my results. I'm guessing I'll need some pretty close help with this step though :P
    THANKYOU!

  5. #4
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    Those 20 agents would be in a list on the right side of the vertical line.
    Each agent would be a link to the detail page w/Google Map to them specifically.
    Along with phone number, business details, etc.

    You don't really need to use MySQL ...
    But you do need to know how to put an <iframe> on the
    right side of your page. What appears inside the iframe are other
    pages you've made, that are designed to fit within the iframe size (W X H).
    Clicking a link on the left would "target" the iframe and that is what
    will load the target page.

    This process of making it work might be a problem using this forum, as it's hard
    to convey what steps to take without actually being there in person.

    Since you know Javascripting, you might want to play with the idea of making
    the "agents" link a fancy drop-down menu and then use Javascripting to
    display stuff on the right side for each agent. There are a variety of ways to
    do the page ... I just am not sure where you're comfortable at.

    I wish I had more time to provide a real working example.



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:51 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com