The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ot:Javascript question


  • To: "Ukha_D (E-mail)" <ukha_d@xxxxxxx>
  • Subject: ot:Javascript question
  • From: "James,Daniel" <Daniel.James@xxxxxxx>
  • Date: Wed, 22 Jan 2003 14:55:57 -0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

Hi all

I'm trying to pass a url to a javascript function, to allow a popup window
>from
The Javascript I have is:

<script>

//Popup Window Script
function openpopup(url1){
var popurl=url1
winpops=window.open(popurl,"","width=600,height=400,scrollbars,resizable,")
}

</script>

And in the ASP I have the code:
url = "http:\\www.automatedhome.co.uk"
' I had to get a HA link in here somewhere :-)

response.write ("<a href='javascript:openpopup(" & url & ")'>" & url &
"</a>")

When I click on the link on the webpage I get an error.. does anyone have
any ideas?

Cheers

Daniel





_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com

[Non-text portions of this message have been removed]


Yahoo! Groups Sponsor
ADVERTISEMENT
HGTV Dream Home Giveaway

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.