#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2003
    Location
    Derby UK
    Posts
    106
    Rep Power
    15

    parent.frames.document.title javascript


    Hi folks

    I'd like to write a line in a javascript that says:

    <script type="text/javascript" language="javascript">
    if parent.frames.document.title contains the word or part sequence of letters 'something'
    document.write(" whatever ");
    else etc

    Anyone know how to do that?

    Very many thanks


    Best wishes

    Tony
  2. #2
  3. Senior Member
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Aug 2003
    Location
    Toronto
    Posts
    1,614
    Rep Power
    17
    if parent.frames.document.title.match(/something/) {
    document.write(" whatever ");
    else etc
    webM

    for $i(0..20){for($j=0;$j<=$i;$j+=2){print pack(qq{H2},
    substr(qq{5f5745424d415354415f},$j,2));}print qq{\n};};

IMN logo majestic logo threadwatch logo seochat tools logo