User Profile

Collapse

Profile Sidebar

Collapse
kresimirt
kresimirt
Last Activity: Dec 31 '09, 09:47 PM
Joined: Dec 28 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Gits, thanks a lot.
    I used the simplest method and it works fine. Although, I had to pull out a substring from myVar to eliminate the leading questionmark.
    See more | Go to post

    Leave a comment:


  • I modified both pages.
    On the page that links to the mainpage I modified the href statement:
    <a href="mainpage. htm?section4">M ain page - Section 4</a>
    with the idea to pass the string 'section4' to the mainpage.
    The onload function of the main page has to receive the information that I want to open section 4. Therefore, on the mainpage in the body tag I added the onload part in the form:
    onload="show_hi de_call()"...
    See more | Go to post

    Leave a comment:


  • How to run a script on a page accessed using href

    Hi,
    I am trying to enhance the functionality of my web site which is hard with my limited knowledge of web developing.
    The idea is the following:
    On the main web page there is a show_hide script that looks like this:
    Code:
    <script> function show_hide(the_layer)
    {
    if(document.getElementById(the_layer))
    {
    if(document.getElementById(the_layer).style.display == 'none')
    {
    document.getElementById(the_layer).style.display
    ...
    See more | Go to post
    Last edited by gits; Dec 29 '09, 04:42 AM. Reason: added code tags
No activity results to display
Show More
Working...