Zugriff auf Webseiten-Elemente

  • Hallo,

    ich möchte auf die Div-Elemente einer Webseite mit dem Internet Explorer zugreifen. Dazu habe ich bereits herausgefunden, dass sich Form-Tags auf der Seite befinden und dass diese als Div-Elemente über den Server mit Informationen (Kontaktdaten) gefüllt werden. Name ist div #filter-details-customer. Nur leider weiss ich nicht, ob und wie ich diese per Skript aus der Seite auslesen kann :(

    Die Daten sind dynamisch, d.h. bei einem Klick auf einen Link in der vorgeschalteten Tabelle, werden die Detailinfos vom Server angefordert. Der Link selbst ist aber nicht ersichtlich, wie gesagt CSS mit JScript.

    Habe mir zwar die IE.au3 angeschaut, komm aber nicht damit klar.
    Hat jemand vielleicht einen Tipp oder einen Lösungsvorschlag für mich?

    Danke vielmals

    gnArfL

  • Hallo SeuBo,

    hier mal der Code:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de"><head xml:lang="de" lang="de"><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="X-UA-Compatible" content="IE-8" /><meta name="description" content="InseratsTicker" /><meta name="mobileVersion" content="M55-QA-SNAPSHOT" /><title>InseratsTicker</title><meta http-equiv="imagetoolbar" content="false" /><meta name="MSSmartTagsPreventParsing" content="true" /><meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" /><link rel="shortcut icon" type="image/x-icon" href="/static/graphics/icons/favicon.ico" /><style type="text/css">#loading-mask{position:absolute;left:0;top:0;width:100%;height:100%;z-index:20000;background-color:white;}#loading{position:absolute;left:42%;top:40%;padding:2px;z-index:20001;height:auto;}#loading a {color:#225588;}#loading .loading-indicator{background:white;color:#444;font:bold 13px tahoma,arial,helvetica;padding:10px;margin:0;height:auto;}#loading-msg {font: normal 10px arial,tahoma,sans-serif;}.hiddenPics {display:none;}</style></head><body><div id="loading-mask" style=""></div><div id="loading"><div class="loading-indicator" style="height:50px;width:250px;"><img src="images/logo_swoosh.gif" style="margin:5px 12px 0 0;float:left;vertical-align:top;"/><span style="line-height:160%;"><strong>Loading Application</strong></span><br /><img src="images/loading.gif" style="margin:-1px 8px 0 0;float:left;vertical-align:text-middle;"/><span id="loading-msg"><i>Loading styles and images...</i></span></div></div><script type="text/javascript">document.getElementById('loading-msg').innerHTML = '<i>Start ticker...</i>';</script><link rel="stylesheet" type="text/css" href="/static/js/extjs/ext-2.1/resources/css/ext-all.css" media="screen,projection" /><link rel="stylesheet" type="text/css" href="css/ext-mobile/ext-all-mobile.css" media="screen,projection" /><link rel="stylesheet" type="text/css" href="css/standard.css" media="screen,projection" /><!-- Localisation / will be delivered from i18n servlet, servlet get language from auth bean --><script type="text/javascript" src="js/buyingtool/i18n/resources"></script><!-- DWR Backend --><script type="text/javascript" src="dwr/engine.js"></script><script type="text/javascript" src="dwr/util.js"></script><script type="text/javascript" src="dwr/interface/proxy.js"></script><script type="text/javascript">document.getElementById('loading-msg').innerHTML = '<i>Loading frameworks...</i>';</script><!-- Frameworks libraries --><script type="text/javascript" src="/static/js/extjs/ext-2.1/adapter/prototype/prototype.js"></script><script type="text/javascript" src="/static/js/extjs/ext-2.1/adapter/prototype/effects.js"></script><script type="text/javascript" src="/static/js/extjs/ext-2.1/adapter/ext/ext-base.js"></script><script type="text/javascript" src="/static/js/extjs/ext-2.1/ext-all.js"></script><script type="text/javascript" src="/static/js/firebug/firebuglite-1.0-b1/firebug.js"></script><script type="text/javascript" src="/static/js/livepipe/livepipe-ui-20080706/livepipe.js"></script><script type="text/javascript">document.getElementById('loading-msg').innerHTML = '<i>Loading images...</i>';</script><div class="hiddenPics"><img src="images/logo.gif" /><img src="images/bg_north.gif" /><img src="images/bg_nav_main.gif" /><img src="images/clear-tab.gif" /><img src="images/clone-tab.gif" /><img src="images/button_expand_filter.gif" /><img src="images/buyingtool_sprites.gif" /><img src="images/result_list_sorted_row_DE.gif" /><img src="images/filters/button_filter_sprites.gif" /><img src="images/filters/bg_buttonbar.png" /><img src="images/filters/bg_popup_shadow_left.png" /><img src="images/filters/bg_popup_shadow_right.png" /><img src="images/logo_swoosh.gif" /><img src="images/loading.gif" /><img src="css/ext-mobile/images/default/panel/white-top-bottom.gif" /><img src="css/ext-mobile/images/default/panel/tool-sprites.gif" /><img src="css/ext-mobile/images/default/tabs/tab-strip-bg.gif" /><img src="css/ext-mobile/images/default/tabs/tabs-sprite.gif" /><img src="css/ext-mobile/images/default/tabs/tab-close.gif" /><img src="css/ext-mobile/images/default/grid/sort_desc.gif" /><img src="css/ext-mobile/images/default/menu/menu-parent.gif" /><img src="css/ext-mobile/images/default/menu/item-over.gif" /><img src="css/ext-mobile/images/default/menu/unchecked.gif" /><img src="css/ext-mobile/images/default/menu/checked.gif" /><img src="css/ext-mobile/images/default/tabs/tab-strip-bg.gif" /><img src="css/ext-mobile/images/default/tabs/tab-strip-btm-bg.gif" /><img src="css/ext-mobile/images/default/tabs/tab-btm-inactive-left-bg.gif" /><img src="css/ext-mobile/images/default/tabs/tab-btm-inactive-right-bg.gif" /><img src="css/ext-mobile/images/default/tabs/tab-btm-right-bg.gif" /><img src="css/ext-mobile/images/default/tabs/tab-btm-left-bg.gif" /><img src="css/ext-mobile/images/default/tabs/tab-close.gif" /><img src="css/ext-mobile/images/default/tabs/scroll-right.gif" /><img src="css/ext-mobile/images/default/tabs/scroll-left.gif" /><img src="css/ext-mobile/images/default/panel/light-hd.gif" /><img src="css/ext-mobile/images/default/window/top-bottom.png" /><img src="css/ext-mobile/images/default/window/left-corners.png" /><img src="css/ext-mobile/images/default/window/top-bottom.png" /><img src="css/ext-mobile/images/default/window/right-corners.png" /><img src="css/ext-mobile/images/default/window/left-right.png" /><img src="css/ext-mobile/images/default/grid/grid3-hd-btn.gif" /><img src="css/ext-mobile/images/default/grid/grid3-hrow.gif" /><img src="css/ext-mobile/images/default/grid/grid3-hrow-over.gif" /><img src="css/ext-mobile/images/default/grid/columns.gif" /><img src="css/ext-mobile/images/default/grid/hmenu-asc.gif" /><img src="css/ext-mobile/images/default/grid/hmenu-desc.gif" /><img src="css/ext-mobile/images/default/grid/sort_asc.gif" /><img src="css/ext-mobile/images/default/grid/sort_desc.gif" /><img src="/static/js/extjs/ext-2.1/resources/images/default/s.gif" /><img src="/static/js/extjs/ext-2.1/resources/images/default/dd/drop-no.gif" /><img src="/static/js/extjs/ext-2.1/resources/images/default/menu/menu.gif" /><img src="/static/js/extjs/ext-2.1/resources/images/default/shadow.png" /><img src="/static/js/extjs/ext-2.1/resources/images/default/shadow-lr.png" /><img src="/static/js/extjs/ext-2.1/resources/images/default/shadow-c.png" /><img src="/static/graphics/icons/logo_inseratsticker_header.gif" /></div><!-- /end .hiddenPics --><script type="text/javascript">document.getElementById('loading-msg').innerHTML = '<i>Loading core...</i>';</script><script type="text/javascript" charset="UTF-8" src="js/M55-QA-SNAPSHOT-compressed.js"></script><!--SWF OBJECT--><script type="text/javascript" src="/static/js/swfobject.js"></script><!--##################################################START PAGE GRID AND CONTENT--><div id="filter-list"><div class="inner"><form><ul id="filter-list-box"></ul></form></div><!-- /end .inner --></div><!-- /end #west --><div id="header-menu"><div id="logo"><img class="i18n" src="images/logo.gif" alt="common|mobile.de - Germany's Biggest Marketplace for Used and New Vehicles" /></div><ul id="nav-main"><li class="first"><a id="toggle-filter" href="#"><span class="i18n">buyingTool|New Search</span></a></li><li class="last"><a id="toggle-help" href="#"><span class="i18n">buyingTool|Tips</span></a></li></ul><div id="tickerlogo"><img class="i18n" src="/static/graphics/icons/logo_inseratsticker_header.gif" /></div></div><!-- /end #north --><!-- CENTER --><div id="resultlist"></div><!-- /end #resultlist --><div id="defaultlist"></div><!-- /end #defaultlist --><div id="custom_list"></div><!-- /end #defaultlist --><!-- BOTTOM --><div id="result"><div id="filter-details-picture"></div><!-- /end #filter-details-picture --><div id="filter-details-description"></div><!-- /end #filter-details-description --><div id="filter-details-customer"></div><!-- /end #filter-details-customer --></div><!-- /end #result --><div id="filter-details-featureSet"></div><!-- /end #filter-details-featureSet --><!--END PAGE GRID AND CONTENT##################################################--><!--##################################################START OVERLAY BOXES (SUCH AS SEARCH ETC.)--><!-- FILTERS --><div id="formbox-filter" class="tabmenu x-tab-strip-top expanded" style="display:none"><div class="wrap"><h4 class="x-tab-right"><span class="x-tab-left"><span id="formbox-filter-boxtoggle" class="boxtoggle i18n" title="buyingTool|Close"></span><span class="x-tab-strip-inner i18n">buyingTool|New Search</span></span></h4><div id="formbox-filter-loader" class="inner"><span>Loading...</span></div><div id="filter-form-container" style="display:none" class="inner"><form onsubmit="javascript: return false;" method="post" id='filter-form'><fieldset><legend>Eingabemaske für Ihre Filter</legend><div class="float-wrap"><ul class="form-row"><li class="long padded"><label for="filter-filterName" class="inline"><strong><span class="i18n mandatory">buyingTool|Name</span></strong></label><input id="filter-filterName" maxlength="30" class="formbox-filter-element"/></li></ul><!-- /end .form-row --><ul class="form-row"><li><!-- MARKE --><label for="filter-makeName"><strong><span class="i18n mandatory">vehicle|Make (e.g. VW)</span></strong></label><select id="filter-makeName" class="formbox-filter-element"></select></li><li><label for="filter-model"><strong><span class="i18n">vehicle|Model (e.g. Golf) </span></strong></label><select id="filter-model" class="formbox-filter-element disabled"><option selected="selected" value="" class="i18n">common|Any</option></select></li><li><!-- VARIANTE --><label for="filter-variant"><strong><span class="i18n">vehicle|Variant (e.g. CL)</span></strong></label><input type="text" id="filter-variant" class="formbox-filter-element"/><!-- FAHRZEUGBESCHREIBUNG --><br /><input type="checkbox" id="filter-variant-searchInAdDescription" class="formbox-filter-element"/><label for="filter-variant-searchInAdDescription" class="inline"><span class="i18n">vehicle|Description</span></label></li></ul><!-- /end .form-row --><ul class="form-row"><li class="col-narrow"><!-- PREIS VON --><label for="filter-price-min"><strong><span class="i18n">common|Price</span></strong></label><input type="text" id="filter-price-min" maxlength="8" class="formbox-filter-element"/><span class="filter-hyphen">-</span></li><li class="col-narrow"><!-- PREIS BIS --><label for="filter-price-max">&nbsp;</label><input type="text" id="filter-price-max" maxlength="8" class="formbox-filter-element"/></li><li class="col-wide"><!-- MEHRWERTSTEUER AUSWEISBAR --><strong class="label"><span class="i18n">common|VAT</span></strong><select id="filter-vatable" class="formbox-filter-element"><option value="true" class="i18n">vehicle|VAT reclaimable</option><option value="false" class="i18n">vehicle|VAT not reclaimable</option><option selected="selected" class="i18n" value="">common|Any</option></select></li></ul><!-- /end .form-row --><ul class="form-row"><li class="col-narrow"><!-- LEISTUNG VON --><label for="filter-powerInKw-min"><strong><span class="i18n">vehicle|Power</span>(<span class="i18n">vehicle|kW</span>)</strong>&nbsp;</label><input type="text" id="filter-powerInKw-min" maxlength="4" class="formbox-filter-element"/><span class="filter-hyphen">-</span></li><li class="col-narrow"><!-- LEISTUNG BIS --><label for="filter-powerInKw-max">&nbsp;</label><input type="text" id="filter-powerInKw-max" maxlength="4" class="formbox-filter-element"/></li><li class="col-wide"><!-- KATEGORIE --><strong class="label"><span class="i18n">vehicle|Category</span></strong><select id="filter-categories" class="formbox-filter-element"><option selected="selected" value="" class="i18n">common|Any</option></select></li></ul><!-- /end .form-row --><ul class="form-row"><li class="col-narrow"><!-- KILOMETERSTAND VON --><label for="filter-mileage-min"><strong><span class="i18n">vehicle|Mileage</span></strong>&nbsp;</label><input type="text" id="filter-mileage-min" maxlength="8" class="formbox-filter-element"/><span class="filter-hyphen">-</span></li><li class="col-narrow"><!-- KILOMETERSTAND BIS --><label for="filter-mileage-max">&nbsp;</label><input type="text" id="filter-mileage-max" maxlength="8" class="formbox-filter-element"/></li><li class="col-wide"><!-- KRAFTSTOFFART --><strong class="label"><span class="i18n">vehicle|Fuel</span></strong><select id="filter-fuel" class="formbox-filter-element"><option selected="selected" value="" class="i18n">common|Any</option></select></li></ul><!-- /end .form-row --><ul class="form-row fixheight"><li class="col-narrow"><!-- ERSTZULASSUNG VON --><label for="filter-registrationDate-min-month"><strong><span class="i18n">vehicle|First Registration Date</span></strong>&nbsp;</label><input type="text" id="filter-registrationDate-min-month" maxlength="2" class="formbox-filter-element"/><input type="text" id="filter-registrationDate-min-year" maxlength="4" class="formbox-filter-element"/><span class="filter-hyphen">-</span></li><li class="col-narrow"><!-- ERSTZULASSUNG BIS --><label for="filter-registrationDate-max-month">&nbsp;</label><input type="text" id="filter-registrationDate-max-month" maxlength="2" class="formbox-filter-element"/><input type="text" id="filter-registrationDate-max-year" maxlength="4" class="formbox-filter-element"/></li><li class="col-wide"><!-- GETRIEBE --><strong class="label"><span class="i18n">vehicle|Gearbox</span></strong><select id="filter-transmission" class="formbox-filter-element"><option selected="selected" value="" class="i18n">common|Any</option></select></li></ul><!-- /end .form-row --><ul class="form-row"><li><!-- FARBAUSWAHL --><strong class="label"><span class="i18n">vehicle|Colour</span></strong><select id="filter-color" class="formbox-filter-element"><option selected="selected" class="i18n" value="">common|Any</option></select></li><li class="single-field"><!-- METALLIC --><br /><input type="checkbox" id="filter-features-METALLIC" class="formbox-filter-element feature-element" /><label for="filter-features-METALLIC" class="inline"><strong><span class="i18n">carEnums|METALLIC</span></strong></label></li></ul><!-- /end .form-row --><ul class="form-row"><li><!-- SCHADSTOFFKLASSE --><strong class="label"><span class="i18n">vehicle|Emission Class</span></strong><select id="filter-emissionClass" class="formbox-filter-element"><option selected="selected" class="i18n" value="">common|Any</option></select></li><li><!-- UMWELTPLAKETTE --><strong class="label"><span class="i18n">vehicle|Emissions Sticker</span></strong><select id="filter-emissionsSticker" class="formbox-filter-element"><option selected="selected" class="i18n" value="">common|Any</option></select></li><li><!-- KLIMATISIERUNG --><strong class="label"><span class="i18n">vehicle|Climatisation</span></strong><select id="filter-climatisation" class="formbox-filter-element"><option selected="selected" class="i18n" value="">common|Any</option></select></li></ul><!-- /end .form-row --><ul class="form-row"><li><!-- SITZE --><strong class="label"><span class="i18n">vehicle|numSeats</span></strong><select id="filter-numSeats" class="formbox-filter-element"><option selected="selected" class="i18n" value="">common|Any</option><option value="2-2">2</option><option value="3-6">3 - 6</option><option value="6-99" class="i18n">carEnums|MORE_THAN_6</option></select></li><li><!-- VERKÄUFERTYP --><strong class="label"><span class="i18n">search|Confinement</span></strong><select id="filter-sellerType" class="formbox-filter-element"><option selected="selected" class="i18n" value="">common|Any</option><option value="true" class="i18n">search|Only Private Ads</option><option value="false" class="i18n">search|Only Dealer Ads</option></select></li><li><!-- BESCHAEDIGTE FAHRZEUGE --><strong class="label"><span class="i18n">vehicle|Damaged Vehicles</span></strong><select id="filter-damageUnrepaired" class="formbox-filter-element"><option selected="selected" value="false" class="i18n">search|Do not show damaged vehicles</option><option value="" class="i18n">search|Also show damaged vehicles</option><option value="true" class="i18n">search|Only show damaged vehicles</option></select></li></ul><div class="form-buttons"><button id="filter-save" class="formbox-filter-element"><span class="i18n">buyingTool|Save Search</span></button><button id="filter-edit" style="display: inline" class="formbox-filter-element"><span class="i18n">buyingTool|Save changes</span></button><button id="filter-cancel" class="formbox-filter-element"><span class="i18n">common|Cancel</span></button></div><!-- /end .form-buttons --></div><!-- /end .float-wrap --><div id="formbox-expander"><a id="toggle-filter-more" class="open" href="#"><span class="i18n">search|Expand Search Criteria</span></a></div><div id="formbox-filter-more"><ul class="form-row"><li class="long"><ul id="filter-features" class="formbox-filter-element"></ul></li></ul><!-- /end .form-row --><h4 class="i18n">search|Radius Search</h4><ul class="form-row radius-search"><li class="col1"><!-- LAND --><span class="i18n label">common|Country</span><!-- country data should be get from MESA, in 1.0.0 it is not available --><select class="formbox-filter-element" id="filter-countryCode"><option value="" class="i18n">common|Any</option></select></li><li class="col2"><!-- PLZ --><span class="i18n label">common|Zip</span><input type="text" id="filter-zipCode" maxlength="5" class="formbox-filter-element"/></li><li class="col3"><!-- UMKREIS --><span class="label"><span class="i18n">vehicle|Radius</span>(km)</span><input type="text" disabled="disabled" id="filter-distance" maxlength="3" class="formbox-filter-element"/></li></ul></div><!-- /end #formbox-filter-more --></fieldset></form></div><!-- /end .inner --></div><!-- /end .wrap --></div><!-- /end #formbox-search --><!-- END Filters --><!-- HELP --><div id="formbox-help" class="tabmenu x-tab-strip-top" style="display:none"><div class="wrap"><h4 class="x-tab-right"><span class="x-tab-left"><span id="formbox-help-boxtoggle" class="boxtoggle i18n" title="buyingTool|Close"></span><span class="x-tab-strip-inner i18n">buyingTool|Tips</span></span></h4><div class="inner helpbox"><div id="helplinks" class="linkbox-details x-tab-strip-top"><span class="x-tab-strip-active"><span class="x-tab-right"><a id="go-helpbox1" class="x-tab-left link-detailpage helpbox-tab"><span class="x-tab-strip-inner i18n">buyingTool|Introduction</span></a></span></span><span><span class="x-tab-right"><a id="go-helpbox2" class="x-tab-left link-detailpage helpbox-tab"><span class="x-tab-strip-inner i18n">buyingTool|Tips</span></a></span></span><span><span class="x-tab-right"><a id="go-helpbox3" class="x-tab-left link-detailpage helpbox-tab"><span class="x-tab-strip-inner i18n">buyingTool|Questions & Answers</span></a></span></span><span><span class="x-tab-right"><a id="go-helpbox4" class="x-tab-left link-detailpage helpbox-tab"><span class="x-tab-strip-inner i18n">buyingTool|Technical Requirements</span></a></span></span></div><!--<div class="i18n">buyingTool|Presenting your mobile.de Vehicle Ticker</div><div class="i18n">buyingTool|Take 60 seconds to convince yourself of the Vehicle Ticker's benefits</div>--><div id="helpbox1" class="helpbox-content"><div class="flashbox" id="flashbox"><!-- TODO: need to translate this message? --><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this video.</div><!-- /end .flashbox --><script type="text/javascript">var s1 = new SWFObject("/static/video/Mobile_Player2.swf","mediaplayer","691","315","7");s1.addVariable("width","691");s1.addVariable("height","315");s1.addVariable("file","/static/video/inseratsticker/de/playlist.xml");s1.addVariable("overstretch","fit");s1.addVariable("autostart ","true");s1.addVariable("shuffle","false");s1.addVariable("thumbsinplaylist","false");s1.addVariable('playlist', 'right');s1.addVariable('icons', 'false');s1.addVariable("allowscriptaccess","always");s1.addVariable('playlistsize',340);s1.write("flashbox");</script></div><!-- /end #helpbox1 --><div id="helpbox2" class="helpbox-content" style="display:none"><div class="headline"><strong class="i18n">buyingTool|The best way to use the mobile.de Vehicle Ticker</strong></div><div class="i18n">buyingTool|Configuration: Adjust the mobile.de Vehicle Ticker to meet your needs. To improve your overview, you can pop up and pop down the 'My Searches', 'Feature Sets', 'Pictures' and 'Vendor' - you just click on the small, double-headed arrow. When a field is popped up, you can temporarily show and hide it by clicking the bar beneath the double-headed arrow. You can also change the size of the search results list or the other fields by moving the edges downwards and to the left or right (this function could be restricted with Internet Explorer 6). You can also adjust the width of the columns in the results list by using the mouse to move the separator lines between the columns.</div><div class="i18n">buyingTool|New search: to save a new search, click 'New Search', select the search criteria that you require and click 'Save Search'.</div><div class="i18n">buyingTool|Search criteria: to display additional search criteria, click (after clicking 'New Search') on the bar on the right side.</div><div class="i18n">buyingTool|Change/delete search (using mouse-over): use your mouse to go to the search concerned and use the icons that then appear to select the action you want.</div><div class="i18n">buyingTool|Show search results: In the 'My Searches' field, select the search results that you want to be displayed by marking the checkbox. To monitor different searches in parallel with one another, you can display each search in its own list. Use your mouse to go to the search and click 'Open Search in New List'. Therefore you can easily skip backwards and forwards between different searches.</div><div class="i18n">buyingTool|Sorting: You can sort the search results by any of the columns. To do this, go to the relevant column (e.g. 'Price') and click the arrow. As new search results will continue to be added, a coloured bar shows where your sort begins. You can also keep the search results as they currently are and open them in a new list; this will prevent you from being irritated by newly found ads. To do this, click 'Open Current Search in New List'.</div><div class="i18n">buyingTool|Columns / search criteria displayed: You can click 'Columns Displayed' to select which information appears in the search list. To do this, go to the relevant column (e.g. 'Price'), click the arrow and then click 'Columns Displayed'.</div><div class="i18n">buyingTool|Older results: The Vehicle Ticker saves the ads found in your absence. You can display these in a new list by clicking 'Older Results'.</div><div class="i18n">buyingTool|Dealer prices: When an ad has a dealer price, the price appears in orange. Pass the cursor over the price to display the end customer price.</div><div class="i18n">buyingTool|Price check: A green arrow in the search results list indicates that the seller has reduced the price.</div></div><!-- /end #helpbox2 --><div id="helpbox3" class="helpbox-content" style="display:none"><div class="headline"><strong class="i18n">buyingTool|Here you will find the answers to the questions asked most frequently about the mobile.de Vehicle Ticker</strong></div><ul class="help-jumplist long"><li><a href="#q01" class="i18n">buyingTool|New ads are added so quickly that I can't keep up. What can I do?</a></li><li><a href="#q02" class="i18n">buyingTool|Can I use other search criteria?</a></li><li><a href="#q03" class="i18n">buyingTool|The 'My Searches' and 'Feature Sets' fields, etc, have disappeared.</a></li><li><a href="#q04" class="i18n">buyingTool|I find the search results list rather unclear. How can I manage my search results?</a></li><li><a href="#q05" class="i18n">buyingTool|Why is the Vehicle Ticker only available for cars?</a></li><li><a href="#q06" class="i18n">buyingTool|It would be helpful if saved searches were sorted alphabetically.</a></li><li><a href="#q08" class="i18n">buyingTool|Why am I only being shown older vehicles?</a></li><li><a href="#q09" class="i18n">buyingTool|What is the difference between the 'Current Results' and the 'Older Results' tabs?</a></li></ul><div id="q01" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|New ads are added so quickly that I can't keep up. What can I do?</div><div class="i18n">buyingTool|Narrow down your search. The more search criteria you select, the more your hit rate comes down. To do this, use the mouse to go to the search and click 'Edit Search' (the icon with the pen). Then save your altered search by clicking 'Save Changes'.</div><div class="jumplink-top"><a href="#helplinks"></a></div><div id="q02" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|Can I use other search criteria?</div><div class="i18n">buyingTool|By clicking on the bar on the right side, you can display the additional search criteria in order to refine your search. Just about all the search criteria used in normal searches are available.</div><div class="jumplink-top"><a href="#helplinks"></a></div><div id="q03" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|The 'My Searches' and 'Feature Sets' fields, etc, have disappeared.</div><div class="i18n">buyingTool|You can pop the 'My Searches' field back up again by clicking the small, double-headed arrow to the left of 'Search Results'. The other fields ('Feature Sets', 'Vehicle picture', 'Vendor') work in the same way - you can pop them up and down to get the view that you want.</div><div class="jumplink-top"><a href="#helplinks"></a></div><div id="q04" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|I find the search results list rather unclear. How can I manage my search results?</div><div class="i18n">buyingTool|You can open a new tab for each search. This gives you a view of the results of a single search. You can also keep the search results as they currently are and open them in a new tab; this will prevent you from being constantly irritated by newly found ads. To do this, click 'Open Search in New List'.</div><div class="jumplink-top"><a href="#helplinks"></a></div><div id="q05" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|Why is the Vehicle Ticker only available for cars?</div><div class="i18n">buyingTool|Cars are the biggest sector of mobile.de. This is why we introduced the Vehicle Ticker in the first place. With your help, mobile.de will improve the Vehicle Ticker before deciding whether it will be extended to cover the other sectors as well.</div><div class="jumplink-top"><a href="#helplinks"></a></div><div id="q06" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|It would be helpful if saved searches were sorted alphabetically.</div><div class="i18n">buyingTool|When you restart the Vehicle Ticker or reload the page ('Ctrl' + 'R'), all searches are sorted alphabetically. It is only when the searches are first added that they appear at the end of the list.</div><div class="jumplink-top"><a href="#helplinks"></a></div><div id="q08" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|Why am I only being shown older vehicles?</div><div class="i18n">buyingTool|If search results are only showing on the Older vehicles tab, and not on the Current Results tab, then you have probably made the search criteria too narrow for any relevant results to be displayed.</div><div class="jumplink-top"><a href="#helplinks"></a></div><div id="q09" class="i18n helpbox-question" style="margin-top:21px;">buyingTool|What is the difference between the 'Current Results' and the 'Older Results' tabs?</div><div class="i18n">buyingTool|New adverts always appear in the 'Current Results' tab. However, new adverts from the last 16 hours will appear in the 'Older Results' tab if the search has existed and been active (by selecting the 'active' check box) during that time.</div><div class="jumplink-top"><a href="#helplinks"></a></div></div><!-- /end #helpbox3 --><div id="helpbox4" class="helpbox-content" style="display:none"><div class="headline"><strong class="i18n">buyingTool|The following settings are required before you can use the mobile.de Vehicle Ticker.</strong></div><div><span class="i18n">buyingTool|Cookies: To save the settings, you need to authorise your computer to accept cookies. Instructions on how to change your browser settings are available here</span> (<a href="http://cms.mobile.de/content-GERMANY/_pdf/mobile.de_InseratsTicker_Browsereinstellungen.pdf" target="_blank">pdf</a>).</div><div><span class="i18n">buyingTool|JavaScript: For all the features to display correctly, you need to enable JavaScript in your browser settings. Instructions on how to change your browser settings are available here</span> (<a href="http://cms.mobile.de/content-GERMANY/_pdf/mobile.de_InseratsTicker_Browsereinstellungen.pdf" target="_blank">pdf</a>).</div><div class="i18n">buyingTool|Flash: You need Flash before you can watch our introductory film. However, the same information is available in the slideshow.</div></div><!-- /end #helpbox4 --><!--<p>M55-QA-SNAPSHOT</p>--></div><!-- /end .inner --></div><!-- /end .wrap --></div><!-- /end #formbox-help --><!-- END HELP --><!--END OVERLAY BOXES##################################################--><script type="text/javascript">document.getElementById('loading-msg').innerHTML = '<i>Initializing...</i>';</script></body></html>

    Ich finde hier keinerlei Hinweise auf das Div-Element Seller-Adrress oder Seller-Phone....

  • Der Quelltext sieht auch nach einer Detailsuche o.ä. aus. Weniger nach einem Inserat oder einer Detailseite selbst. Nach ein bisschen Recherche (Ich hatte wirklich Probleme mich durch diesen Code zu kämpfen) bin ich mir nun (fast) sicher, dass es sich um die Seite des Mobile.de InseratsTickers handelt. Weiter als hier komme ich aber dank fehlendem Händler Login leider nicht. Somit sind mir auch zu einem gewissen Grad die Hände gebunden. Den richtigen Quelltext oder ggf. das dafür zuständige JavaScript musst du also selber finden. Hast du schon versucht den Firefox zu Rate zu ziehen? Web Developer Toolbar kann Wunder wirken.

    PS: Das Nächste mal bitte ein [ spoiler][ code]....{ /spoiler] { /code] um deinen Quelltext. dann muss man nicht jedesmal den kompletten Quelltext durchscrollen um zum nächsten Post zu kommen

    Gruß SEuBo

  • Hallo SeuBo,

    sorry das mit dem Code, aber ich fand den Schalter nicht oben in der Leiste.
    Jetzt wo Du mich auf den Spoiler aufmerksam gemacht hast, weiß ich's natürlich auch wieder.
    Mein Problem ist ja, dass ich mich zu wenig mit JavaScript auskenne und die Links zu den DIV-Elementen nicht finde.

    Die Fahrzeugdetails sind z.B. in einem Teilbereich in der unteren Hälfte des Browsers sichtbar.
    Der Quelltext zu dem Teilbereich Fahrzeugdetails ist

    Spoiler anzeigen
    Code
    <div style="overflow: auto;" id="filter-details-description"><div class="linkbox-details"><a href="#" class="link-detailpage">Detailansicht</a><a href="#" class="link-detailpage">Druckansicht</a><a href="#" class="link-parkinglot">Fahrzeug parken</a><a href="#" class="link-detailpage">Inserat beanstanden</a></div><div><span>sehr gepflegter Wagen, Kilometerstand ist original und nachweisbar, Innenausstattung schwarz, Fahrersitz elektr. verstellbar, abnehmbare Anhängerkupplung, sehr viele Neuteile, KEIN ROST!! 12-fach bereift,Tempomat,beheizb. Scheibenwaschanlage, Verglasung grün getönt, Regensensor, Telefon Nokia original MB, MB Audio 30 APS,</span></div></div>

    Der QT zu dem Teilbereich Kontakt ist

    Spoiler anzeigen
    Code
    <div><div class="seller-type">Privat</div><div class="seller-address"><span>25712</span><span>&nbsp;Kuden</span><div>Deutschland</div></div><div class="seller-phone"><div>1. Tel.: +49 (0)176 40003373</div><div>2. Tel.: +49 (0)4855 107100</div></div><img src="http://mobile.ivwbox.de/cgi-bin/ivw/CP/G/01_DE/S/P/D/BT?r=%22%22&amp;d=%2294997.98256038329%22" border="0" height="1" width="1"></div>

    Füge mal einen screenshot von dem Angebot an.

    Habe auch schon mal mit dem WebDeveloper und dem Firebug nachgeschaut, aber ich kann keinen link finden. Würd halt aus Performancegründen gern auf das Durchsuchen des Cache und diese Abfragen verzichten, denn durch den Inseratsticker wird das System ohnehin schon arg gebremst. Falls ich's nicht finde, muss ich dann halt den Weg mit dem Browsercache gehen.

  • Ich kann dir nur die FF.au3 empfehlen, die in diesem Forum auch hervorragend von Stilgar supportet wird...!

    Dank _FFXPath und mit Hilfe des XPather sollte das kein Problem sein...
    Damit kannst du eig. ALLES auslesen :). Ist wesentlich angenehmer, besser und benutzerfreundlicher, als die IE.au3.

    LG

  • [autoit]

    #include <IE.au3>
    #include <File.au3>
    $oIE = _IECreate("Link zum Inseratsticker")
    $oFrames = _IEFrameGetCollection ($oIE)
    $iNumFrames = @extended
    Dim $FrameArray[$iNumFrames]
    For $i = 0 to ($iNumFrames - 1)
    $oFrame = _IEFrameGetCollection ($oIE, $i)
    ;~ MsgBox(0, "Frame Info","Frame Nummer "&$i&": "& _IEPropertyGet ($oFrame, "locationurl"))
    $FrameArray[$i] = "Frame Nummer "&$i&": "& _IEPropertyGet($oFrame, "locationurl")
    Next
    $tmpfile = _TempFile()
    _FileWriteFromArray($tmpfile,$FrameArray)
    ShellExecuteWait("notepad.exe",$tmpfile)
    If FileExists($tmpfile) Then FileDelete($tmpfile)

    [/autoit]

    Lass das mal bitte einmal durchlaufen (und poste das ergebnis hier), wenn wir glück haben finden sich damit leicht die jeweiligen URL's
    Diese kann man dann mit _IEBodyReadHTML() oder _InetGetSource() auslesen. Alles weitere ist dann ein klacks (hoffe ich)

  • Hallo SeuBo,

    sorry aber kam längere Zeit nicht dazu an meinem Projekt weiter zu arbeiten.

    Lasse ich Deinen Code laufen erhalte ich eine Fehlermeldung(s.Anhang).
    Inzwischen habe ich aber viel darüber im Internet gesucht und gelesen und habe heraus gefunden, dass es sich um irgend etwas mit cgi, AJAX, JAVASCRIPT handelt und kann die Aufrufe auch verfolgen, aber ich selbst bin nicht in der Lage den jeweiligen Aufruf/Quelltext richtig zu interpretieren oder auszuwerten. Bin halt nicht so firm in Codes.

    Habe zum Beispiel mehrere Einträge in der Liste angeklickt. Dabei werden die Anfragen an den Server geschickt, es handelt sich um COM-Objekte auf die ich doch einfach per DIV-Element-ID zugreifen können müsste. Jeder Eintrag in der Fahrzeugliste beinhaltet ja die ID des Datensatzes - unter dieser ID werden die jeweiligen Parameter (Fahrzeugtyp, Bilder, Fahrzeuigbeschreibung, Kontaktdaten usw) abgerufen. Öffne ich den IE so wird die eigentliche Tabelle in einem zweiten abgespeckten Fenster (keine Symbol- keine Menüleiste usw) dargestellt. Beim einfachen Klick werdem die Fahrzeugdetails im gleichen Fenster in CSS formatierten Containern bereit gestellt. Klicke ich jedoch doppelt auf einen Eintrag in der Fahrzeugliste, so öffnet sich ein weiteres IE-Fenster. In diesem lässt sich sehr wohl die Detail-ID des Datensatzes auslesen, aber bei jedem Doppelklick wird ein neues Fenster geöffnet und pflastert die Tastkleiste mit IE-Fenstern zu. (Bitte jetzt nicht den Tipp mit dem Gruppieren von Elementen, kenn ich schon - ist aber noch unübersichtlicher).
    Da die Details doch auch angezeigt werden, wenn nur ein einfacher Klick erfolgt, müssen die Daten doch bereits im Speicher des Computers stehen. Lässt sich denn nicht darauf zugreifen?
    Ansonsten sehen die links z. B. so aus wie in den weiteren Anhängen zu sehen ist.
    Die URL des Tickers ist dann z.B. diese:

    http://gb-ticker.mobile.de/ticker/?ticket…so46-2_c02_4102

    Wäre für jeden Tipp dankbar, der mich ein wenig weiter bringt. Insbesondere interessiert mich der Datenaustausch zwischen dem Server und dem Client und dessen "Mitschnitt" oder gesonderte Abfrage.

    Danke vielmals für Hilfe.

  • @Acanis 
    der Threadsteller benutzt Internet explorer.(lesen)
    Ansonsten stimme ich dir zu super Tutorial ;) .