|
| 20 May 2013 07:40 PM |
If Asset.innerHTML = (XXX) Then Window.Navigate (href) Else MsgBox("None") End If
how do I navigate to a href? from another websites inner html? Like for example:roblox they have a items href how do I make that upload inside the Window.navigate?
and not using the specific id
like lets say it finds something then it puts inside der yo |
|
|
| Report Abuse |
|
|
dekkonot
|
  |
| Joined: 22 Dec 2010 |
| Total Posts: 6685 |
|
|
| 20 May 2013 07:52 PM |
This is for Rbx.Lua help only. I'd suggest going somewhere else.
~ Linguam latinam est optimum ~ |
|
|
| Report Abuse |
|
|
|
| 20 May 2013 08:41 PM |
I'm confused what you're trying to do? Are you trying to load an iframe? Are you just trying to navigate to a web page?
window.Navigate "http://www.website.com"
I think ... ? Google searc 'vbscript window object' and look for MSDN garbage.
Source: I use VBScript at work. |
|
|
| Report Abuse |
|
|
MrNicNac
|
  |
| Joined: 29 Aug 2008 |
| Total Posts: 26567 |
|
|
| 20 May 2013 08:50 PM |
"Window.Navigate (href)"
You can give the Navigate function a string. So, from your...somewhat...of an explanation, I am assuming that the innerHTML property holds the link. You can place that directly into the function argument.
Window.Navigate(Asset.innerHTML) |
|
|
| Report Abuse |
|
|
|
| 20 May 2013 08:52 PM |
| innerHTML would be bad, though, as well, as it will grab any child elements. If Asset is an anchor, he should use Asset.href, or if the link is text, he should use Asset.innerText. |
|
|
| Report Abuse |
|
|
databrain
|
  |
| Joined: 01 Jan 2013 |
| Total Posts: 3342 |
|
|
| 20 May 2013 08:52 PM |
dekknot said it.
BTW, @dekknot, I first thought your sig was a lipsum : / |
|
|
| Report Abuse |
|
|