Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Another newbie question:

Discussion in 'General Discussion' started by phonelesscord, Apr 25, 2004.

  1. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    I am noticing that the basic html tags that i know (very few)..well, some of them aren't working. For example, a fixed backround tag, backround music tag, and image tags. What am I doing wrong? I eventually gave up on the image tag, and used the html editor to insert the image....

    thanks:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. BenThomas

    BenThomas Well-Known Member

    Joined:
    Feb 12, 2004
    Messages:
    598
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Houston, Texas USA
    cPanel Access Level:
    Root Administrator
    The simplest solution is to go to a site that is using the html feature you want and view their page code. This can usually be found in the View menu of your browser.
     
  3. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Thanks very much, that helped
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Thanks :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    If you'd care to, Im having trouble with my drop down menus. I was experimenting with them, and now they will not link to anything. Can someone view my source code and tell me what Im doing wrong? Thanks! :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    I'm not the best when it comes to javascript, but there are a few obvious errors on the page.

    First, the drop down menu code has to be inside the body tags. Second, the body style tag has to be inside the head tags. Third, the drop down menu code isn't quite right.

    For #3, I don't know what the code would be without looking it up, but I can do later if nobody else has something.

    For #'s 1 and 2, here is your code with the parts in the right place.

    Code:
    <html>
    <head>
    <title>.she.ionizes.and.atomizes.</title>
    
    <style type="text/css"></style>
    body {
    scrollbar-arrow-color: #000000;
    scrollbar-base-color: #000000;
    scrollbar-dark-shadow-color: #000000;
    scrollbar-track-color: #000000;
    scrollbar-face-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3d-light-color: #000000;
    }
    
    </head>
    
    <body text="#FFFFFF" bgcolor-#000000 link="#FF00FF" vlink="#FF00FF" alink="#FF00FF" background="bkrnd.jpeg" bgproperties="fixed" nosave>
    
    <form name="go2">
    <select style="font-family: arial; font-size: 8pt; color: #ff00ff;" size="1" name="mymusic"
     OnChange="window.open(go2.mymusic.options[selectedIndex].value)">
         <option selected>Listen
         <option value="http://www.boxcarracer.com/">Box Car Racer
         <option value="http://www.saddle-creek.com/bands/brighteyes/">Bright Eyes
         <option value="http://www.coldplay.com/">Coldplay
         <option value="http://www.countingcrows.com/">Counting Crows
         <option value="http://www.deftones.com/">Deftones
         <option value="http://www.depechemode.com/">Depeche Mode
         <option value="http://www.davematthewsband.com/">DMB
         <option value="http://www.duranduran.com/">Duran Duran
         <option value="http://www.greenday.com/">Green Day
         <option value="http://www.enjoyincubus.com/">Incubus
         <option value="http://www.moby.com/">Moby
         <option value="http://www.moldypeaches.com/">Moldy Peaches
         <option value="http://www.modestmouse.com/">Modest Mouse
         <option value="http://www.ourladypeace.com/">Our Lady Peace
         <option value="http://www.ours2.net/">Ours
         <option value="http://www.ozzy.com/">Ozzy
         <option value="http://www.capitolrecords.com/radiohead/">Radiohead
         <option value="http://www.sarahmclachlan.com/">Sarah McLachlan
         <option value="http://www.mcarecords.com/artistMain.asp?artistid=285/">The Cranberries
         <option value="http://www.thecure.com/">The Cure
         <option value="http://www.thefaint.com/">The Faint
         <option value="http://www.comcat.com/~beaudk/bosstones/bosstones.html/">The MMBT
         <option value="http://www.thestrokes.com/">The Strokes
         <option value="http://www.theused.net/">The Used
         <option value="http://www.toriamos.com/">Tori Amos
         <option value="http://www.weezer.com/">Weezer
         <option value="http://launch.yahoo.com/lc/?rt=0&rp1=0&rp2=1415188857/">My Yahoo Radio Station
    
    </option>
    </select>
    </form>
    
    <form name="go2">
    <select style="font-family: arial; font-size: 8pt; color: #ff00ff;" size="1" name="mytv"
     OnChange="window.open(go2.mytv.options[selectedIndex].value)">
         <option selected>Watch
         <option value="http://www.bbc.co.uk/comedy/abfab/">Absolutely Fabulous
         <option value="http://www.adultswim.com/shows/athf/index.html/">Aqua Teen HF
         <option value="http://www.cartoonnetworkla.com/english/watch/tv_shows/courage/">Courage the Cowardly Dog
         <option value="http://www.comedycentral.com/tv_shows/crankyankers/">Crank Yankers
         <option value="http://www.mtv.com/onair/daria/">Daria
         <option value="http://www.hbo.com/deadwood/">Deadwood
         <option value="http://disneyshorts.toonzone.net/houseofmouse/">House of Mouse
         <option value="http://www.tvland.com/shows/lucy/">I Love Lucy
         <option value="http://www.foodnetwork.com/food/show_ic/">Iron Chef
         <option value="http://www.hbo.com/oz/">Oz
         <option value="http://www.sonypictures.com/tv/shows/seinfeld/">Seinfeld
         <option value="http://www.hbo.com/city/">Sex and the City
         <option value="http://www.hbo.com/sixfeetunder/">Six Feet Under
         <option value="http://www.comedycentral.com/tv_shows/southpark/">Southpark
         <option value="http://www.adultswim.com/shows/brak/index.html/">The Brak Show
         <option value="http://www.the-goldengirls.com/">The Golden Girls
         <option value="http://www.angusoblong.net/theoblongs.html/">The Oblongs
         <option value="http://www.mtv.com/onair/osbournes/">The Osbournes
         <option value="http://www.thesimpsons.com/">The Simpsons
         <option value="http://www.tvtome.com/tvtome/servlet/ShowMainServlet/showid-3876/">Two Stupid Dogs
         <option value="http://www.nbc.com/Will_&_Grace/index.html/">Will & Grace
    
    </option>
    </select>
    </form>
    
    </body>
    
    </html>
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,504
    Likes Received:
    1
    Trophy Points:
    318
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    Nice. :cool:

    There you go phonelesscord. Rearrange the code like I showed, and use Website Rob's code maker, and your ready to go.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Thanks so much. I really appreciate everything.. Sometimes I feel like such a tard. :p This isnt easy to teach yourself ! :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    Can I cry now? :confused: I used the code maker (pouting along the way because I want a colored menu....), and the menu looks wonderful, but nothing happens when I select something. *sigh*

    www.phonelesscord.com/tiffani:rolleyes:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,504
    Likes Received:
    1
    Trophy Points:
    318
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Not sure what you mean? The Drop down Menu works perfect? For different colours you need to use CSS code and that's entirely different.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    The items "drop down", but do not link to anything. Im so confused ..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    You're using 2 drop down menus and giving them both the same names and variables. Make them #'s 1 and 2 by changing 4 lines like this:

    Code:
    <form name="Jump1" action="">
    <select name="Menu1" onchange="location=document.Jump1.Menu1.options[document.Jump1.Menu1.selectedIndex].value;" value="GO">
    
    and

    Code:
    <form name="Jump2" action="">
    <select name="Menu2" onchange="location=document.Jump2.Menu2.options[document.Jump2.Menu2.selectedIndex].value;" value="GO">
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    151
    YAY THanks guys! :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    4
    Trophy Points:
    343
    Location:
    ON, Canada
    It's always nice when something is finally working. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice