Forums | Email a Colleague | FAQ

Dr. Website Archives

Dr. Website® Archives 2002

July 11, 2002
    Question:
    Dear Dr. Website:
    I have a problem with download of javascript. I`m not a profi on the PC, I´m only using different programms (MS-Office, compl.). Sorry about my english.

    I´want to take a look in bmw.de carrier website, but therefore I need javascript to open the sides from BMW. I haven`t javascript.

    Please give me a hint, how I can download your software.

    Thank you very much in advance.

    Answer:
    JavaScript is not a program you download--rather it's something that a web browser comes with.

    Most, if not all, browsers have the ability to use and understand JavaScript...it can be turned off in "preferences" but in general there's no reason to turn it off, and as you say, a lot of sites use JavaScript to make your browser experience better.

    If your browser is not able to access sites with JavaScript and you haven't turned it off for your browser, you may want to reinstall your browser and give it another try.
    Thanks

    --Dr.Website

    Question:
    Dear Dr. Website:
    I' m from Indonesia. How can I get IP Address of Visitor in my site I'm using ASP and Javascript, can You give me the script ? Thank's

    Answer:
    Here's how I do it in ASP: <%
    Dim strXML, strRef, strLogFileName
    Dim objLogFile
    Dim Logfeed
    strWhere = "IP is " &
    Request.ServerVariables("REMOTE_ADDR")
    strXML = strWhere &
    "<br>"
    strLogFileName = Server.MapPath("/yourlog.html")
    Logfeed = strXML

    Set FSObject = CreateObject("Scripting.FileSystemObject")
    Set objLogFile = FSObject.OpenTextFile(strLogFileName, 8, True)
    objLogFile.WriteLine strXML

    objLogFile.Close Set objLogFile = Nothing %>

    This grabs the IP and writes it to a file, in this instance called "yourlog.html." You'd just add the above code to the bottom of any page you wanted to track.
    Thanks,

    --Dr.Website

    Question:
    We are considering adding Adobe Acrobat pdf files to our web site but are hesitating because we have heard that some webmasters will not to allow pdf files on their sites (with the concern that a sizable percentage of the internet-using general public would be scared off by the requirement to download the Adobe reader software the first time.)

    What is the consensus about pdf use on web sites? Does anyone out there know the percentage of people who balk at downloading things off the internet? Do you have a personal opinion about pdf use on sites?

    Thank you!

    Answer:
    Essentially it comes down to personal opinion. A lot of sites provide PDF files because they give the developer more finite control over the layout and design of the page--essentially allowing them the same control as one would have in print media. The downside is large file size, requires the use of a plug-in that not everyone has, and some folks just don't like them or want to download them.
    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