Link to home
Start Free TrialLog in
Avatar of yairab
yairab

asked on

string manipulation

hi

i creat a email sender that in simple asp (vbs)

i tray to do :
theBody = theBody & "<a href=javascript:window.open('" & theUrlLink & "', 'width=900')>xxx</a>

whit no success  the link is bracke down

i tray to use window.open because  i wont that the link address will open in full window

thanks
Avatar of HugoHiasl
HugoHiasl

Did you use .HTMLBody instead of .Body?
Avatar of yairab

ASKER

no
Would something like this not be better?

theBody = theBody & "<a href=""" & theUrlLink & """ target=""_blank"">xxx</a>"

GH
Your string should be ok.

G_H is right. Encapsulation with quotes would make it more readable but should not be neccessary.

You need to set it to the correct property:
http://msdn.microsoft.com/en-us/library/aa171418%28v=office.11%29.aspx
Avatar of yairab

ASKER

hi
thanks for replay

G_H
i wont to open the url in a full window  
it is posibale whit <a href>  tag?
Avatar of yairab

ASKER

i get the problems when i tray to use window.open(...)
ASKER CERTIFIED SOLUTION
Avatar of G_H
G_H
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial