Welcome
Arachne's Web
A group focused on serving the AW community by providing help and discussion on topics such as HTML, CSS, web design, homesite decorating, netiquette and issues important to web artists.

Code Information Center (2 threads, 1007 posts)
    Tips and Tricks (155 posts)
    Social Thread

    Know some neat code for use here or on the net? Post 'em here! ...
    50 Members have made 121 Posts here to date.
    Google
    AncientWorlds.net Web
    Next: Maybe M can have a look at it?
    Prev: Thanks Azure Eyes!
    View Source from Here and One more thing about fonts
    summer2.gif
    Author: * Venissa Julia Iceni - 3 Posts on this thread out of 221 Posts sitewide.
    Date: Feb 15, 2003 - 20:34




    Below is that source code for the script -- it just needed to be enclosed between
    < blockquote > . . . < /blockquote > markup for displaying in this message.  

    Because the actual script (everything between the < Script > and < /Script > tags is enclosed in an HTML comment to make it invisible to the viewer when it executes, I also had to spread out the < !-- portion of the comment tag, so remember to close that gap too, or I don't know what will happen.

    One more thing about fonts: they won't work unless the exact names are used in the font tags.   For example, Comic Sans should be invoked with the full name, Comic Sans MS, (and sometimes the upper and lower case is important, so it's always best to keep it exact) just as it is shown in the font list in any application on your PC.

    I think Azure Eyes mentioned that all people with the given font installed on their systems will be able to see it, those who don't have it locally installed will not.   This is helpful when you're trying to decide whether or not to use an unusual font and it helps to know what default font will be displayed (as defined in the stylesheet for the page) and how large it will be if the user does not have the one you specify.

    The Script

    "VIEW SOURCE FROM HERE and remember to close the gaps around the script tag. Do not view the partial source, only the full source."

    < script > < !-- var nn = "Guest," ;
    var x = eval(unescape('%64%6F%63%75%6D%65%6E%74%2E%63%6F%6F%6B%69%65')) + ";" ;
    var n1 = x.indexOf(unescape('%6C%69%6E%3D')) ;
    if (n1 >= 0) {
    var n2 = x.indexOf(";", n1) ;
    if (n2 != null && n2 > 0) {
    var n3 = x.lastIndexOf("/", n2) ;
    if (n3 > 0) {
    var n4 = x.lastIndexOf("/", n3 - 1) ;
    if (n4 > 0) nn = x.substring(n3 + 1, n2) + " " + x.substring(n4
    + 1, n3) ;
    }}} document.write(nn) ;
    // -->
    < / script >
    Welcome to my domus!

    END VIEW SOURCE


    NEXT: Maybe M can have a look at it?
    PREV: Thanks Azure Eyes!
Rome - Rome, Season 1 - The Stolen Eagle


Copyright 2002-2011 AncientWorlds LLC | Code of Conduct and Terms of Service | Contact Us! | The AncientWorlds Staff