Last active
August 29, 2015 14:00
-
-
Save grappler/0729fdad267ad1f8f349 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="width: 100%; margin: 0px; padding: 0px; text-align: right; background-color:#FFFFFF;"> | |
<img src="http://fahrplan.sbb.ch/img/igm-sbblogo.gif" width="110" height="18" alt="SBB|CFF|FFS" /> | |
<h1 style="width: 100%; background-color: #DDDDDD; color: #000000; font-family: Arial, Helvetica, sans-serif; font-size:12px; font-weight: bold; padding: 2px 0px; margin: 0; height: 15px; text-align: left;clear:both;"> Timetable</h1> | |
<div style="width: 100%; background-color: #F8F8F8; margin: 0; padding: 0px;" summary="Layout"> | |
<form action="http://fahrplan.sbb.ch/bin/query.exe/en?externalCall=yes&DCSext.wt_fp_request=partner_mini" name="formular" method="post" style="display:inline" target="_blank"> | |
<input type="hidden" name="queryPageDisplayed" value="yes"> | |
<table cellspacing="0" cellpadding="4" style="width: 100%; margin: 2px;" class="ig"> | |
<tr> | |
<td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; padding:2px 3px 2px 0px;"> | |
<select name="REQ0JourneyStopsSA" style="background-color:#fff; border: 1px solid #7F9DB9; color: #000; width: 60px; font-size:11px; margin:0px 0px;"> | |
<option selected="selected" value="7">From:</option> | |
<option value="1">Station/Stop</option> | |
<option value="2">City, Street no</option> | |
<option value="4">Point of Interest</option> | |
</select> | |
</td> | |
<td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; padding:2px 3px 2px 0px;" colspan="2"> | |
<input type="text" name="REQ0JourneyStopsSG" value="" size="16" style="background-color:#fff; border: 1px solid #7F9DB9; color: #000; width: 100px; height: 18px; font-size: 11px" accesskey="f" tabindex="1"> | |
<input type="hidden" name="REQ0JourneyStopsSID"> | |
</td> | |
</tr> | |
<tr> | |
<th nowrap="nowrap" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; font-weight:bold; width: 55px;"> To: </th> | |
<td style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; padding:2px 3px 2px 0px;" colspan="2"> | |
<input type="hidden" name="REQ0JourneyStopsZID" value="A=1@O=Zürich, Technopark@X=8515652@Y=47388793@U=95@L=008591391@B=1@p=1398773543@"> | |
<span style="font-weight:bold;">Zürich, Technopark</span> | |
</td> | |
</tr> | |
<tr> | |
<th nowrap="nowrap" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; font-weight:bold; width: 55px;"> Date: </th> | |
<td nowrap="nowrap" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; padding:2px 3px 2px 0px;"> | |
<b>01.05.14</b> | |
<input type="hidden" name="REQ0JourneyDate" value="01.05.14" accesskey="d"> | |
</td> | |
</tr> | |
<tr> | |
<th nowrap="nowrap" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; font-weight:bold; width: 55px;"> Time: </th> | |
<td nowrap="nowrap" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; padding:2px 3px 2px 0px;"> | |
<input type="text" name="REQ0JourneyTime" value="17:50" size="5" maxlength="5" style="background-color:#fff; border: 1px solid #7F9DB9; color: #000; width: 100px; height: 18px; font-size: 11px" accesskey="c" tabindex="4"> | |
</td> | |
</tr> | |
<tr> | |
<th> </th> | |
<td nowrap="nowrap" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:left; vertical-align:middle; padding:2px 3px 2px 0px;"> | |
<input class="radio" type="radio" name="REQ0HafasSearchForw" value="1" checked style="margin-right:3px;">Departure | |
<br /> | |
<input class="radio" type="radio" name="REQ0HafasSearchForw" value="0" style="margin-right:3px;">Arrival</td> | |
</tr> | |
<tr> | |
<td colspan="2" style="text-align:left;"> | |
<input type="hidden" name="start" value="Search"> | |
<input type="submit" name="start" value="Search connection" tabindex="5" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; text-align:center; width:130px; vertical-align: middle; cursor:pointer; -moz-border-radius: 3px 3px 3px 3px; background-color:#EE0000; border:1px solid #B20000; color:#FFFFFF; font-weight:bold; height:auto; line-height:20px; padding:0px 10px; text-decoration:none; white-space:nowrap;"> | |
</td> | |
</tr> | |
<tr> | |
<td colspan="2" style="text-align:left;"> | |
<a style="font-family:Arial,Helvetica,sans-serif; font-size:12px; text-align:left; margin-top:4px; color: #6B7786; text-decoration:none; display:block;" href="http://www.rail.ch/166" target="_blank" title="Current information on strikes and major disruption of rail services."><img src="http://fahrplan.sbb.ch/img/one/icon_arrow_right.png" alt="" style="vertical-align:top; padding-right:2px; border:none;" />Traffic Information</a> | |
</td> | |
</tr> | |
</table> | |
</form> | |
</div> | |
</div> | |
<script language="JavaScript1.2" type="text/javascript"> | |
/* <![CDATA[ */ | |
var time = new Date(); | |
var hour = time.getHours(); | |
hour = (hour < 10) ? '0' + hour : hour; | |
var minute = time.getMinutes(); | |
minute = (minute < 10) ? '0' + minute : minute; | |
var travelTime = hour + ':' + minute; | |
document.formular.REQ0JourneyTime.value = travelTime; | |
// /* ]]> */ | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment