Results 1 to 8 of 8

Thread: Why my page doesn't display the same way in your site

  1. #1
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Why my page doesn't display the same way in your site

    In this link: http://www.dynamicdrive.com/dynamicindex16/showhint.htm
    that shows how to use the show hint topic.

    I followed the instructions and copied the code, but it still didn't have the same output in your page.

    The 'showhint' worked but the message didn't appear on the predefined hintbox. Is there something I missed out? Or this effect is not really part of what the site wants to share? ^_^;

    pls help

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. #3
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    www.geocities.com/zankoku_tenshi/prod.html

    ^_^ Sorry, I forgot to place the page. I was trying out scripts as I am just a newbie at this "programming" stuff. ^_^ Please forgive my inefficient scripting.
    The problem was the "more info".

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    I'm not sure what's going on here, so I'll let you wait for someone else to be able to help.
    What's the "predefined hintbox" in the example of your site?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I think it is Geocities. Poor choice of a host for javascript. The page works fine in Opera which also doesn't show the Geocities added content. In IE and FF there is this Geocities sidebar on the right and the script malfunctions as you have described.

    There may be a way to adapt the script to work on Geocities, I'll look into it.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Ooops, not the problem at all. What you have is an illegal entry in your stylesheet (highlighted red):

    Code:
    <style type="text/css">
    
    #prodfocus
    {
    text-align: center;
    padding: 3px;
    font-family: Verdana, Arial;
    color: #ACACAC;
    font-size: 20pt;
    font-weight: bold;
    width: 300px;
    }
    
    #container
    {
    width: 600px;
    background-color: #ffffff;
    border: 2px solid #ACACAC;
    align: center;
    }
    
    #prod
    {
    width: 100px;
    }
    
    #ahreflayout
    {
    text-align: left;
    padding: 5px;
    font-family: Verdana, Arial;
    text-decoration: none;
    color: #ff9800;
    font-size: 10pt;
    }
    
    #prodrow
    {
    border: 2px solid #ACACAC;
    text-align: center;
    padding: 3px;
    font-family: Verdana, Arial;
    color: #acacac;
    font-size: 10pt;
    height: 60px;
    }
    
    <style type="text/css">
    
    #hintbox{ /*CSS for pop up hint box */
    position:absolute;
    top: 0;
    background-color: lightyellow;
    width: 150px; /*Default width of hint.*/ 
    padding: 3px;
    border:1px solid black;
    font:normal 11px Verdana;
    line-height:18px;
    z-index:100;
    border-right: 3px solid black;
    border-bottom: 3px solid black;
    visibility: hidden;
    }
    
    .hintanchor{ /*CSS for link that shows hint onmouseover*/
    font-weight: bold;
    color: navy;
    margin: 3px 8px;
    text-align: left;
    padding: 5px;
    font-family: Verdana, Arial;
    text-decoration: none;
    color: #ff9800;
    font-size: 10pt;
    }
    
    </style>
    Remove it. The green one is invalid so, might as well get rid of it too but, it isn't causing the problem.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Wee, thanks!! I'll look up on it.

  8. #8
    Join Date
    May 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ahihihihi, I blame it on my disorganization ability >.< The script is working all ready. thanks to dj33 and jscheuer1

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •