zurück zur Startseite
  


Zurück XHTMLforum > (X)HTML und CSS > CSS
Seite neu laden Positionierung funktioniert nicht innerhalb von Jquery's Scrollable

Antwort
 
LinkBack Themen-Optionen Ansicht
  #11 (permalink)  
Alt 11.09.2011, 17:03
Benutzer
neuer user
 
Registriert seit: 24.07.2011
Beiträge: 83
lolDog befindet sich auf einem aufstrebenden Ast
Standard

…ter.com/zoomingjapan" target="_blank"><img src="http://zoomingjapan.com/wp-con…

du darfst in links kein target="_blank" benutzen. gib allen a-tags ein klasse class="blank" z.b. und dann kannst du per java script alle a mit der klasse blank suchen und ein event drauf legen, damit es im neuen fenster geöffnet wird. javascript code auf mootools basis sieht dafür so aus (das wird bei dir nicht klappen da du kein mootools einbindest, in jquery habe ich keine ahung):

Code:
// Links in neuem Fenster öffnen
$$( 'a.blank' ).each( function( a ) {
	a.addEvent( 'click', function( e ) {
		e.stop();
		window.open( a.href );
		return false;
	});
});
Mit Zitat antworten
Sponsored Links
  #12 (permalink)  
Alt 11.09.2011, 17:10
Benutzerbild von japanworm
Confuser
XHTMLforum-Mitglied
Thread-Ersteller
 
Registriert seit: 14.07.2011
Ort: Japan
Beiträge: 143
japanworm befindet sich auf einem aufstrebenden Ast
Standard

@lolDog: Okay, werde mal zusehen, dass ich den jquery code dafür finde

Ich hab jetzt "nur noch" 45 Fehler nachdem ich mich um die "img"-Fehler gekümmert habe (das hat schon mal mehr als die Hälfte ausgemacht).

Weitere Anweisungen, die ich nicht verstehe sind:

Zitat:
Error Line 202, Column 100: end tag for "input" omitted, but OMITTAG NO was specified

…lass="field" name="s" id="s" value="Search or be lost" onfocus="this.value=''">

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
Zitat:
Error Line 252, Column 234: document type does not allow element "a" here; missing one of "object", "span", "bdo", "applet", "iframe", "tt", "i", "b", "u", "s", "strike", "big", "small", "font", "em", "strong", "dfn", "code", "q", "samp", "kbd", "var", "cite", "abbr", "acronym", "sub", "sup", "label", "ins", "del" start-tag

…est-post-3/#respond" title="Comment on Category Test Post #3">(0)</a></a></div>

The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Zitat:
Line 360, Column 438: cannot generate system identifier for general entity "height"

…ecent-posts/lib/phpimage.php?width=50&height=50&rotation=no&file=L 2hlcm1lcy9ib…

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (. The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs".

Entity references start with an ampersand (&) and end with a semicolon (. If you want to use a literal ampersand in your document you must encode it as "&amp;" (even inside URLs!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters.

If this error appears in some markup generated by PHP's session handling code, this article has explanations and solutions to your problem.

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed.

Gibt schon noch einiges mehr, aber das sollte für den Anfang reichen.

Vielen Dank für eure Hilfe, auch wenn sich das Positionierungsproblem dadurch natürlich nicht lösen lässt
Mit Zitat antworten
Sponsored Links
  #13 (permalink)  
Alt 11.09.2011, 17:19
Benutzer
neuer user
 
Registriert seit: 24.07.2011
Beiträge: 83
lolDog befindet sich auf einem aufstrebenden Ast
Standard

Zitat:
Error Line 202, Column 100: end tag for "input" omitted, but OMITTAG NO was specified

…lass="field" name="s" id="s" value="Search or be lost" onfocus="this.value=''">

You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
!!!!jedes!!!! element muss abgeschlossen werden. input felder genau wie img. ist doch genau der gleiche fehler also schreiben: <input ...... />

Zitat:
Error Line 252, Column 234: document type does not allow element "a" here;
das heißt ein a tag ist hier nicht erlaubt. du machst <a ...><a ....>....</a></a>. ein a im a ist erstens nicht erlaubt und ergibt überhaupt gar keinen sinn

Zitat:
Line 360, Column 438: cannot generate system identifier for general entity "height"
du darfst keine & verwenden. Grund: mit & fangen sondernzeichen in html an, also erwartet er hier irgendwas mit dem er was anfagnen kann. verlinkst du sachen und willst ein & machen musst du das sonderzeichen für & schreiben und das sieht so aus: &amp;
also & mit &amp; ersetzen.
SELFHTML: HTML/XHTML / Referenz /HTML-Zeichenreferenz
Mit Zitat antworten
  #14 (permalink)  
Alt 12.09.2011, 03:41
Benutzerbild von japanworm
Confuser
XHTMLforum-Mitglied
Thread-Ersteller
 
Registriert seit: 14.07.2011
Ort: Japan
Beiträge: 143
japanworm befindet sich auf einem aufstrebenden Ast
Standard

Morgen!

Vielen Dank!

Zitat:
Zitat von lolDog Beitrag anzeigen
das heißt ein a tag ist hier nicht erlaubt. du machst <a ...><a ....>....</a></a>. ein a im a ist erstens nicht erlaubt und ergibt überhaupt gar keinen sinn
Ich versteh schon, was du sagst, aber ich seh hier kein doppeltes "a"-Element:

HTML-Code:
<h2 class="h2comments"><img src="http://images/comments_big.png" alt="comments_big /><?php comments_number('No Comments', '1 Comment', '% Comments' );?> <a href="#respond" class="addComment"><img src="http://zoomingjapan.com/wp-content/themes/alltuts/images/add_your_coment_ver2.png" alt="add_your_coment_ver2" border="0" /></a></h2>
Mit Zitat antworten
  #15 (permalink)  
Alt 12.09.2011, 10:47
Benutzerbild von Praktikant
Semantikbremse.
XHTMLforum-Kenner
 
Registriert seit: 22.04.2008
Beiträge: 4.985
Praktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz seinPraktikant kann auf vieles stolz sein
Standard

Zitat:
Zitat von lolDog Beitrag anzeigen
du darfst in links kein target="_blank" benutzen. gib allen a-tags ein klasse class="blank" z.b. und dann kannst du per java script alle a mit der klasse blank suchen und ein event drauf legen
Noch besser: Gib dem Benutzer die Wahl. Kennzeichne Links auf fremde Seite als solche und lass den Benuter entscheiden ob sich der Link im selben oder einem neuem Fenster bzw. Tab öffnet. Es gibt nichts nervigeres als das automatische Öffnen von Links in neuen Fenstern!
__________________
Rettet die Erde.... sie ist der einzige Planet mit Schokolade!
Mit Zitat antworten
Antwort

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
positionierung innerhalb von div + height in ie6 .robert CSS 5 27.03.2007 16:15
positionierung von div's innerhalb eines div Fabster CSS 8 18.07.2006 18:02
Positionierung // Größenangabe innerhalb einer Div-Schachtel wicky2k6 CSS 2 18.02.2006 17:18
Ratschläge bei Publizierung eines fertigen Layouts gesucht Black Fladder CSS 55 05.09.2004 14:30
Absolute Positionierung funktioniert nicht Kilrathi CSS 5 20.07.2004 10:25


Alle Zeitangaben in WEZ +2. Es ist jetzt 13:05 Uhr.