Jump to content

malcolm

Members
  • Posts

    3
  • Joined

  • Last visited

About malcolm

  • Birthday 07/09/1976

Contact Methods

  • Website URL
    http://www.malcolm.5u.com
  • ICQ
    0

malcolm's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. malcolm

    no properties

    Let us discuss, by examining line by line...say the drop down has 3 values via.. red, blue and greenand consider blue is selected.var selection = (document.select.colour.selectedIndex);--> selection is equal to 1.var picture = ((document.select.colour.options[selection].value) + ".jpg");--> picture is equal to "blue.jpg"var text = ((document.select.colour.options[selection].value) + "Text");--> text is equal to "blueText"document.colour.src = picture;document.text.style.display = "";--> here the text is taken as an attribute itself and hence your requirment of embedding the 'blueText' is not done.(correct me if iam wrong in understanding ur req.)
  2. karthiseenu,If you are talking about the 'x' mark closing of the window, then you should use onbeforeUnload event.Refresh of a page is equivalent to unload and load of the page. Hence your conditions inside the onunload event will be triggered when the refresh is done.
  3. malcolm

    redirecting

    Graham,Do you mean the alert(confirm) box of the browser as the security box? You say that you have not created it. Give more information regarding your query sothat we can help you after a clear understanding.
×
×
  • Create New...