Forums | Email a Colleague | FAQ

Dr. Website Archives

Dr. Website® Archives 2002

November 21, 2002

    Question:
    Dear Dr. Website:
    Hello, Is the Doctor in? Thanks for the excellent advice in the past, and I've gotta let you know, I look forward to your newsletter each week.

    I have another stumper, for me anyhow.

    I have created a graphic, with six hotspots, that each lead to different htmls. I have made this graphic to replace a picture with a mouseover. Easy enough perhaps, but I find that when the graphic with the hotspots comes up on the mouseover, it has lost it's hotspots.

    I have produced the graphic in Photoshop/Image Ready, and am using Dreamweaver as my editor. When I place the graphic in for the mouseover, I am using the gif that I created, should I be using the html code that's produced in Imageready for the mouseover? If that's the case, can you tell me how to incorporate the html within the mouseover code?

    Now if that's not enough, I really would like these six links to open in a new browser window???

    Thanks,

    Answer:
    You'll need to use the code that ImageReady produces instead of the mouseover code, not along with it. The code should be set up specifically for the imagemap you've created. Also, when you're creating the code in ImageReady, there is a drop down that says "TARGET" and you need to choose "blank" and it will open the URL from the imagemap in another window. Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:

    1)What is difference between post and get method. 2)Both these methods are used to send parameters to web server or the CGI scripts by the browser.

    Answer:
    Technically, GET means that form data is to be encoded by a browser into a URL while POST means that the form data is to appear within a message body. Essentially, "GET"is for getting (retrieving) data whereas "POST" may involve anything, like storing or updating data, etc. Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:
    Can you help? I have website that I always go straight to when I am online - What I wanted to do was add my own favorites page with frames -ie On the left frame I have all my favorite places on the net and when I click on them they load into the frame on the right - The problem is say I click on "webdeveloper" I get the page in the frame but if I then click on another link on the left instead of opening up on the right in the same frame - it opens up in a separate page - which is really annoying as I end up with loads of pages - Is there a script that I can add to tell the frame get rid of last link and load new link in same frame? Would love to hear from you as I am getting very frustrated. Kind regards

    Answer:
    In the left (navigation) frame, you need to use the TARGET parameter. Thus, you would have links like this:

    <A HREF="yourpage.html" TARGET="rightframe">

    This assumes that the name of the right (content) frame is "rightframe." Thanks,

    --Dr.Website

    Question:
    Dear Dr. Website:
    I am very poor at writing java script and have failed to find a script todo the following: Display London, NY, SF, ToK . . . etc. time (digital, not analog) on my web page with java script. AND, instead of the using the usual clietside browser clock, I would like to use SSI to provide the base time - something like:

    <!--#config timefmt="%A, %B %e" -->
    <!--#echo var="DATE_LOCAL"-->

    I expect I will display 5 or 10 city time values on one or two simple horizontaly strip(s) at 9 or 10px. Can this be done? Thanks

    Answer:
    I wish I could help you out with this one, but you won't be able to do it using SSIs and the timezone parameter. The timezone parameter (%Z) just shows what time zone your server is in, and does not allow you to change the timezone to a different one.

    I did find a JavaScript script that you should be able to use that will accomplish your task. You can find it here, on our JavaScriptSource.com site:

    http://javascript.internet.com/clocks/date-time-long.html

    Thanks,
    --Dr.Website ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ForumsEmail a Colleague · FAQ

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs