Thanks for you quick response.
I would want to do something like you can see in the script section - and I cannot figure out, how to select this link or href with the method: .click
I get an error message all the time, even if I do not select this child node as below, even if I go up a 1 or two in the hierachy but I cannot make it to follow the link... funny enough, if you save below in a Htm file and then you are able to click on the "Link" and it works fine, but I cannot get it to work automatically.
Do you have an idea for a possible work around?
thanks Michael
Code:
<html>
<head>
<title>Sample code </title>
<script>
function start() {
document.getElementById("categories").childNodes.item(0).childNodes.item(1).childNodes.item(7).childNodes.item(1).childNodes.item(0).childNodes.item(0).click
}
</script>
</head>
<BODY onload="start()"><DIV id=categories>
<DIV class=box>
<DIV class=title>
<H1><IMG class=num_img alt=1 src="images/num_1.gif"> Odds</H1></DIV>
<DIV class=content><!-- <small>Select:: <a href="#">All,</a> <a href="#">None</a></small><br/> --><SMALL>Expand: <A href="https://www.nordicbet.com/selection?cmd=expand_all">All for love,</A> <A href="selection?cmd=expand_default">None</A></SMALL><BR><SMALL>Date: <A href="selection?cmd=ending&day=0">Today</A>, <A href="selection?cmd=ending&day=1">Tomorrow</A>, <A href="selection?cmd=ending&day=2">2 Days</A>, <A href="selection?cmd=ending&day=3">3 Days</A></SMALL><BR><SMALL>Time: <A href="selection?cmd=ending&hour=1">1 Hour</A>, <A href="selection?cmd=ending&hour=2">2 Hours</A>, <A href="selection?cmd=ending&hour=4">4 Hours</A>, <A href="selection?cmd=ending&hour=8">8 Hours</A>, <A href="selection?cmd=ending&hour=12">12 Hours</A></SMALL><BR>
<UL>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=1"><B>Football </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=5"><B>Ice Hockey </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=7"><B>Baseball </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=24"><B>Basketball </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=103"><B>Cycling </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=253"><B>Floorball </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=385"><B>Golf </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=38"><B>Handball </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=124"><B>Table Tennis </B></A>
<LI class=expanded>+ <A href="/selection?cmd=select_category&category_id=116"><B>Volleyball </B></A></LI></UL></DIV>
<DIV class=bottom> </DIV></DIV></DIV>
</body>
</html>
Bookmarks