|
comp.infosystems.www.authoring.html - discuss HTML authoring here
|
|
|
|
|
Posted by Dudely on September 13, 2008, 1:56 am
Please log in for more thread options
I've got a weird problem. I'm trying to pull the phone number off a
webpage (you can see it below if you search for "context"), but
somehow SKYPE has usurped the HTML DOM in a way I don't understand.
Interestingly, none of the below shows up if I simply "view source".
However, when I go into the VBA editor and watch my variables, I'm
able to find it inside one of the elements. I've copied what I found
here. No amount of walking the DOM seems to get me to that phone
number. I'm guessing it has something to do with the fact that it's
an XML statement, but I'm clueless as to what to do from here.
So again, how do I pull the phone number out of the below? I'm doing
this in VBA 6 if it matters, but can probably translate from
javascript if necessary.
Thank you in advance!
show/hide quoted text
<?XML:NAMESPACE PREFIX = SKYPE /><SKYPE:SPAN
onmouseup="javascript:skype_tb_imgOnOff(this,1,'4',true,'');return
skype_tb_stopEvents();" class=skype_tb_injection
onmousedown="javascript:skype_tb_imgOnOff(this,2,'4',true,'');return
skype_tb_stopEvents();" id=softomate_highlight_4
onmouseover="javascript:skype_tb_imgOnOff(this,1,'4',true,'');"
title="Call this phone number in United States of America with Skype:
+19042922275" onclick="javascript:skype_tb_doRunCMD('call','4',null,
0);return skype_tb_stopEvents();"
onmouseout="javascript:skype_tb_imgOnOff(this,0,'4',true,'');"
show/hide quoted text
durex="99" context="(904) 292-2275" IamRTL="0"><SKYPE:SPAN
class=skype_tb_nop> </SKYPE:SPAN><SKYPE:SPAN
onmouseup="javascript:doSkypeFlag(this,'4',1,1);return
skype_tb_stopEvents();" class=skype_tb_imgA_flex
onmousedown="javascript:doSkypeFlag(this,'4',2,1);return
skype_tb_stopEvents();" id=skype_tb_droppart_4
onmouseover="javascript:doSkypeFlag(this,'4',1,1);" title="Skype
actions"
onclick="javascript:skype_tb_SwitchDrop(this,'4','sms=0',true);return
skype_tb_stopEvents();" onmouseout="javascript:doSkypeFlag(this,'4',
show/hide quoted text
0,1);"> <SKYPE:SPAN class=skype_tb_nop> </
SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgFlag id=skype_tb_img_f4
style="BACKGROUND-IMAGE: url(file://D:/DOCUME~1/ANDYBR~1/LOCALS~1/
Temp/
__SkypeIEToolbar_Cache/acff02a98e444a2cfc8e6580c12ac345/static/
show/hide quoted text
famfamfam/US.gif)"> </
SKYPE:SPAN> <SKYPE:SPAN class=skype_tb_nop> </SKYPE:SPAN></
SKYPE:SPAN><SKYPE:SPAN class=skype_tb_imgS id=skype_tb_img_s4> </
SKYPE:SPAN><SKYPE:SPAN class=skype_tb_injectionIn
id=skype_tb_text4><SKYPE:SPAN class=skype_tb_innerText
id=skype_tb_innerText4> (904...</SKYPE:SPAN></SKYPE:SPAN><SKYPE:SPAN
class=skype_tb_imgR
show/hide quoted text
id=skype_tb_img_r4> <SKYPE:SPAN
class=skype_tb_nop> </SKYPE:SPAN></SKYPE:SPAN></SKYPE:SPAN>
|
| Similar Threads | Posted | | Can TR element be direct child node of TABLE element? | February 13, 2005, 12:17 pm |
| Help with webpage | June 23, 2009, 12:22 pm |
| Webpage access | March 15, 2006, 8:34 pm |
| cellphone webpage | June 27, 2009, 12:31 pm |
| Requesting Help with Webpage Construction! | January 24, 2005, 2:12 pm |
| Watch a webpage for keyword? | June 21, 2005, 5:05 pm |
| W3C validator can't fetch my webpage | August 30, 2005, 12:13 pm |
| Aligning Flash swf into a webpage | September 24, 2005, 3:38 pm |
| creating your own webpage background | January 4, 2006, 9:21 pm |
| creating your own webpage background | January 4, 2006, 9:21 pm |
|
|