SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    passing div content through frames

    Is it possible to pass a div content through frames.

    I'm having trouble with some descriptions for a rollover.
    I use innerHTML at the moment, but am now trying to use css.

    I have a list of buttons bought in with an array.
    This array also sets positions of divs of the same name.

    The div content is place thus:-
    <div id=button1>Description for button1
    <div id=button2>Description for button2
    This allows Google to read my content.

    The first page works fine, but I've now got onto the second.
    The second page shares 8 descriptions with another 8 pages.

    so, using HTML & div I have to create 64 divisions,
    but using innerHTML I had to create only 8 variables.

    Server side you say? Doesn't work offline, I dont want to be greedy with bandwidth, and force people only to use my site online.

    So my idea was to return to frame use, if I can pass a div content across them.

    any ideas??????
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  2. #2
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    read a division content and pass to innerHTML :)

    I only need to know if I can read a div content!!!

    I can do the rest.

    Thanks
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if


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
  •