- Original Message -
From:
Marilyn
Langfeld
To: [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 9:19
AM
Subject: [WSG] What do you think about
slicing images?
I haven't seen any discussions about slicing images, with regards to web
standards. I
[EMAIL PROTECTED] wrote:
http://www.kaosweaver.com/extensions/details.php?id=76
Hi I was wondering if anyone had any experience with this extension
and whether it is fully accessible etc as it looks like it could be
quite a time saver.
Hi Helen,
I'm biased on this, but I'd like to point out
Paul wrote:
Just did, on the UL class as well as the li class, no luck
Hi Paul,
The problem lies in your bluebox container. *Remove* the left declaration
and use margin-left instead, that should fix it.
Regards,
Thierry | http://www.TJKDesign.com
Gianfranco Todini wrote:
And it doesn't use any hacks as well...
What's this?
* html #container {display:inline-block;}
And this?
* html #left {width:197px;}
:-)
Thierry | http://www.TJKDesign.com
**
The discussion list for
True, but management should make educated decision and
that means listening to developers.
But a developer who doesn't know how to design for NN4 would be biased, no?
IMHO, supporting NN4 is a call for:
- bad semantic,
- structural hacks,
- extra hours spent on the project.
Out of these three
but a useful one to know for sure.
Since we're talking about NN4...
Another interesting thing about this browser is the way it handles the
noscript tag. In NN4, a simple noscript tags pair can break apart a whole
CSS layout; at other times, it can be a great way to clear floats. Once a
designer
designer wrote:
OK, I know about the pitfalls, but the bookmarking thing is easy to
get over - just add 2 short lines of javascript from
www.CodeLifter.com :
if (parent.location.href == self.location.href){
window.location.href = 'whateverframeset.html' }
I don't think this has to do
Gunlaug Sørtun wrote:
A simple float-design with a little bit of AP, can be as fluid as one
may like it. How about 3-column floats?
http://www.gunlaug.no/contents/wd_1.html
Basically it is this:
http://www.alistapart.com/articles/negativemargins/
This technique uses negative margins too,
Gunlaug Sørtun wrote:
Yes, that's another variant that'll work just fine. I made one based on
the same idea back in may/june 2004, but Gecko-browsers wasn't
clearing too well then:
http://www.gunlaug.no/homesite/main_7_b.html
Hi Georg,
You're floating the right column and you have a few
tee wrote:
Hi, Been wanting to find a solution but it's sort of something not
critical until I came up with this menu
http://www.lotusseeds.com/tryagain_michael.html
Any idea?
In the markup, do not leave whitespace between the list items
HTH,
Thierry | http://www.TJKDesign.com
Gunlaug Sørtun wrote:
reached by different means. I don't have a personal preference, so I
look into all solutions, and pick and choose from ideas and
inspiration when/as needed. Guess that's how it should work across
the web.
The same here. There is a lot of good stuff out there, very
I've seen hacks over the net and used one to define sizes in IE...but
this problem is driving me crazy...
Hi Javier,
As Alan said, you should use display:inline on every float that include
margins, but I believe you need more than that to fix your problem. Try
this:
#contizq {
Its the input buttons that are floated and overlapping causing the
.sectionfooter| to shove over.
Try :
div.sectionfooter {clear:left}
Also make sure you set a background-color for body, because white is not the
color by default ;-)
HTH,
Thierry | http://www.TJKDesign.com
would anybody be able to suggest a simple fix to
get the advanced search/preferences list to align properly
next to the input on my frugal google experiment
http://www.splintered.co.uk/experiments/74/ ?
You could try to move the UL just before the text box and then use *float*
rather than an
Hi,
I'm trying to use nested comments as a filter for non gecko-based
browsers.
This is my markup:
!--
style type=text/css
some rules here
/style
!--
Gecko-based browsers get it right; they see the nested comment and ignore
the inner block.
But the Validator gives me a warning about this
I guess the first question would be.. what are you trying to do and is
their another solution?
Not sure what you mean by filter for non Gecko browsers?
Hi James,
I found out that non Gecko-based browsers see the inner block (between the
comments), so I can use this markup to feed them without
Sarah Peeke (XERT) wrote:
Many sites I have seen *retain this link's visibility* despite it
being intended (AFAIK) primarily
for screen readers.
It also helps people who use tabbing navigation.
Thierry | http://www.TJKDesign.com |
**
The
Roger Johansson wrote:
* Semantic markup (i.e. nested unordered lists)
* Graceful degradation when support for CSS and/or JavaScript is
missing
* Keyboard navigable, preferrably with optionally expandable menus.
* Top level menu items should be real links
* Menus drop down on hover
jackie reid wrote:
is there a tutorial out there that anyone has seen or used that may
help me achieve this.
Hi Jackie,
This may help you:
http://www.tjkdesign.com/articles/css%20pop%20ups/
HTH,
Thierry | http://www.TJKDesign.com
**
The
Lee Jorgensen wrote:
http://alistapart.com/articles/hybrid/
I didn't know about that one, but I believe it is the worst article ever
published by ALA.
The author says:
What if we could have one clean, well-structured menu which would combine
the dynamism and code-ease of dropdown menus and do
Hi all,
I've noticed that many of you are using a container ID as a named anchor
(to create a skip nav for example), but I'm not sure if you're all aware
that this creates an accessibility issue: the user can jump to the location,
but is unable to tab past it.
Also, I've found that most of the
Drake, Ted C. wrote:
I've been replacing my a name=deepcontent/a with h3
id=deepcontent Or something similar.
Isn't that the most appropriate way of going?
Hi Ted,
Try the 2 methods and you'll see how the latter solution disturbs tabbing
navigation.
Using the former allows UAs to jump to that
Gerard Copinga wrote:
Hello,
a href=help.htm target=_blank
onClick=javascript:openNewWindow(this.href); return false;
title=opens in new windowHelp/a
As a side note: using _blank as the value of the target attribute is not a
good idea unless the designer wants a *new* window to open each time
Kornel Lesinski wrote:
And what about what _user_ wants?
For me there is nothing more annoying that page with links to
screenshots or faq entries that all stubbornly open in the same
window and don't let me see more than one of them at once.
IMHO, this technique gives some control to the user
Patrick H. Lauke wrote:
Even if a link *has* _blank, you can use the right click option.
I know that ;-)
My point is that setting the target attribute's value to WhatEverName
gives the user a *choice*.
It allows him to either open these links in new windows or in the *original
new one*. With
Stevio wrote:
Can someone explain how the following works?
Hi Stephen,
You may want to read this:
http://tantek.com/CSS/Examples/boxmodelhack.html
Then this:
http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp
Unless I'm missing something, the latter is a simpler and -
Stevio wrote:
Anyone know why a floated div is hidden in IE6?
Try position:relative on #sidebar, that should fix it
To set padding and margin to 0 value for all the elements, try * instead
of #, like this:
* {margin:0;padding:0}
HTH,
Thierry | http://www.TJKDesign.com
Michael Wilson wrote:
If I have to use a box model hack (BMH), rather than a conditional
comment, I prefer the following [01]:
* html foo { /* Selector recognized by IE only */
height: 100%; /* Value for IE5.x/Win and IE6.x/Win QM */
hei\ght: auto; /* Value for IE6/Win */
}
I
tee wrote:
Seven, but I really prefer to stay with css menu as it delivers
cleaner code. I was thinking perhaps I can insert one dhtml menu in
Son of suckerfish dropdowns:
http://www.htmldog.com/articles/suckerfish/dropdowns/
I'm a bit biased about this one:
Michael Wilson wrote:
It works in NN6 Win, but I'm not sure about NN on Mac; that fix link I
posted earlier has a listing of tested browsers.
Michael,
I've tested this page [1] in NN v6.2.3 on XPPro and it does not work.
Regards,
Thierry | http://www.TJKDesign.com
[1]
Michael Wilson wrote:
This [01], however, does work in NN v6.2.3 on XPPro. According to the
Hi,
I don't think it works as intented. The nested ULs appear, but NN6 doesn't
paint any background, so it is not legible.
Re: the Mac fix. This fix is for MSIE 5.2 (OSX), it doesn't fix 5.0 (OS9)
and
Drake, Ted C. wrote:
I've looked at about 3 dozen web sites this morning discussing the
best three column layout and it is getting really confusing. So many
of them are variations of each other and there are few dates on the
pages to know what is new and better.
Hi Ted,
I don't know if this
Drake, Ted C. wrote:
I've got a question. You mention the IE
painting bug, which is very similar to the issue that I am having.
Hi Ted,
I think I mentionned this bug re: the ALA demo page.
Did you notice background painting problems with my pages?
However, I was able to solve the problem,
David Laakso wrote:
Just in case you change your mind about source order:
http://www.alistapart.com/articles/negativemargins/
FYI:
The ALA's article doesn't mention a few things:
- links inside the right column appear not to be clickable in Opera 6,
- there are background painting problems in
Gunlaug Sørtun wrote:
Just some quick questions -- and please don't misunderstand me here.
:-)
NP ;-)
- How many of the old browser-versions should be allowed to influence
our choice of design-methods?
- Aren't there enough bugs and flaws in the new browser-versions?
I see your point, but
john wrote:
No matter how hard I try to explain, one of my clients just cannot
understand that fonts are taken from the user's computer when they
view the page. Basically, he can't shake the distinctions between
print design and web design.
You may want to look into sIFR:
Andreas Boehmer [Addictive Media] wrote:
font-size? Or do I have to go and use images instead? In which case I
would have to use Javascript for the Rollover, which really goes too
far!
To go with CSS rather than Javascript, you can use a transparent image and
swap its background.
Thierry |
Hi all,
I have a WAI-AAA icon at the bottom of the pages and I'd like to know if I
can leave it there or if I have a few more things to work on
:-)
I'm using label with all my input elements, but the one for the search
form at the top at the page. Does using the title attribute make it
accessible
Jan Brasna wrote:
Label is in Priority 2, title is enough for Priority 1.
BTW placing a label there and hiding it via CSS does the job too...
Duh! LOL
Thanks,
Thierry | http://www.TJKDesign.com
**
The discussion list for
diona kidd wrote:
I'm using FF 1.0.1 on Fedora 3 and the links are working for me. Which
version/platform FF are you using?
I'm using v. 0.8 and 1.0.2 on WinXP
When you say working, do you mean you can click on them and jump to the
anchors or that you can tab through all the links in the main
tee wrote:
Hi Thierry,
I think your page has issued with Safari (Jaguar), it shuts down the
browser after 2 or 3 second of loading. I tested 4 times, same result.
Hi Tee,
I was going to reply off-list, but on the other hand I'd like to see someone
else using Jaguar to check the page.
Just to
Drake, Ted C. wrote:
The rest of the styles use body classes to show or hide specific
nested menus.
Does anyone see a reason why the links would not display as block? It
is causing some flashing as you mouse over the links and hit dead
air. The hover goes off and on
Hi Ted,
To fix IE,
Drake, Ted C. wrote:
I could probably generalize the holly hacks to the whole site, but
for now I am doing it on the individual nav. Are there reasons why I
shouldn't just say * html li and * html a ?
Did you try to use Conditional Comments instead of CSS filetrs?
IMO, that's where this
Drake, Ted C. wrote:
This is a hack to send a style to Internet Explorer on windows and
not mac.
IMHO, IE CCs are a better alternative to this hack:
http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp
Thierry | http://www.TJKDesign.com
Neerav wrote:
I havent asked this for a while so it would be interesting to know
what the current trend in Browser/Operating system support is for the
freelancers/corporates on this list to see if there has been any
change in the last 6-12 months
I think of people stuck with old browsers, the
Kornel Lesinski wrote:
Pretty does not mean accessible.
OK, I should have said look good and functional ;-)
For example, when DIVs overlap, links become unclickable, content disappear.
etc.
I think it's better to spend time on
some WAI checkpoints rather than adding display tweaks for NN4 and
Patrick H. Lauke wrote:
The proper way in XHTML is using fragment identifiers: giving an ID to
an element, and linking to that, e.g.
a href=#contentgo to content/a
div id=content
I've found that using id instead of name for anchors (including a href
attribute) creates an accessibility issue
Patrick H. Lauke wrote:
I found that, even when using NAME, IE (particularly IE6/SP2 on
WinXP/SP2) can exhibit this same behaviour of forgetting the right
tab order. In fact, I just created a super simple page where my IE
(version and OS as above) just does that
Thomas Ditmars wrote:
div id=content ...
Does this also apply to HTML 4.01 Strict?
I guess my actual question is: What is the proper way of coding
'#anchor-name' links in HTML 4.01 Strict?
It is best to use *both* (up to XHTML 1.0) *with* a A element, to be nice
to old browsers. You may want
Kornel Lesinski wrote:
You have to use good, accessible menu that uses links in HTML.
See son of suckerfish dropdowns.
I'm not sure if CSS menus are really accessible. IMHO, they lack a
timer, browser support is weak and most of them do not allow keyboard
navigation. On top of that, if not well
Kvnmcwebn wrote:
heres the menu
http://www.dynamicdrive.com/dynamicindex1/hvmenu/horizon.htm
Nice, but totally inaccessible without JS support.
Check www.projectseven.com I believe most of their menus are fully
accessible. It is important that without client script, the navigation fully
Kvnmcwebn wrote:
heres the menu
http://www.dynamicdrive.com/dynamicindex1/hvmenu/horizon.htm
This link is to show you that I'm not biased when I say you should favor a
DHTML solution:
http://www.tjkdesign.com/articles/dropdown/demo.asp
;-)
Thierry | http://www.TJKDesign.com
Kornel Lesinski wrote:
I'm not sure if CSS menus are really accessible. IMHO, they lack a
timer, browser support is weak and most of them do not allow
keyboard navigation.
That's the same problem most JS menus have as well.
That may be true for the bad ones, but not for quality JS menus.
And
Kvnmcwebn wrote:
Unless you think im making a HUGE mistake by using this dhtml menu
from, im going to leave it.
IMHO, it is a HUGE mistake
I mean what are the percentages of users with scripting disabled-is it
really going to come back and haunt me?
Did you check the source code?
It is not
Kvnmcwebn wrote:
The only drawback(for me) is that the text size cant be fixed as in
the js method i was using earlier.
Actually, that should be one more reason to stay away from that menu ;-)
But check that menu in a different browser than IE, you'll see that
text-size can always be
Chris Stratford wrote:
Hey Guys,
Just wondering if you have ever seen this problem with firefox.
Hi Chris,
I do not experience any problem with that page (FF 0.8/WinXP)
Thierry | http://www.TJKDesign.com
**
The discussion list for
The Man With His Guide Dog At The Tent Store wrote:
I do not know if this is off topic. Can CSS be used to change
background and foreground colors to create a more accessible web
site.? If so, how? Or please direct me to a web site that discusses
the topic.
Alternative styles article:
Matt Thommes wrote:
I've noticed that the CSS 'line-height' property provides extra
spacing between list items, such as in an ordered list, unordered
list, as well as definition lists.
I try to favor line-height rather than padding if I'm dealing with an
element that is styled with a height
Drake, Ted C. wrote:
Hi Thierry
This has been bugging me lately and I've been adding margin-top:-1px
to some of my navigation lists to avoid this random space between
list items in firefox. Do you have any recommendations for avoiding
Hi Ted,
It's Bruno Fassino on CSS-D who gave me a heads
Gunlaug Sørtun wrote:
In most browsers, there is no way to know how the page would print.
There is a way: 'testing', but I agree on that browsers don't do their
print-job the same way. Think Gecko is worst on print-jobs at the
moment.
Hi Georg,
I was talking about the user, not the designer.
Mike Brown wrote:
if anyone is interested, I did a presentation on web standards last
week and have put it online:
http://govis.signify.co.nz
That's great.
Can we post that link to various NGs?
Thierry | http://www.TJKDesign.com
**
The
For people interested in à la suckerfish menus, this one now allows
tabbing navigation in MSIE too:
http://www.tjkdesign.com/articles/dropdown/demo.asp
Thierry | http://www.TJKDesign.com
**
The discussion list for
Frederic Fery wrote:
on your site is says
What's Bad
We're using CSS for another purpose than presentation.
why is it that bad?
It is said that flyout and dropdown menus belong to the behavior layer and
that CSS should not be used to accomplish such things.
Also, because this technique
Rowan Lewis wrote:
Nothing wrong with styling states with CSS, but there is plenty wrong
with using javascript to overwrite CSS states when you could do
exactly the same thing with CSS.
However, adding javascript to make a browser work like the others do
is fine, but you should try to
Tom Livingston wrote:
Hello list,
Need a little help. I am building a page -
http://66.155.251.18/platformrg.com/ - that was designed in a hard
grid. Can I tweak this so that when text is scaled up, the boxes
expand, at least vertically, to allow for the larger type as well as
having the
Tom Livingston wrote:
My first reaction was... Yikes!, Are you nuts!
Me again,
http://66.155.251.18/platformrg.com/people/
In IE5.5/6Win (and Opera 8 MAC) I am seeing extra space under the
image and can't figure out where the heck it's coming from. Can you?
This is normal behavior. It's
Scott Reston wrote:
In Firefox, the pullquote drops within the content to clear the first
sidebar. Why?
Put your 2 sidebar (do not float them anymore) into a container that you
float right, and give it a width (pullquote needs a width too).
That should do it.
Thierry |
Thierry Koblentz wrote:
Put your 2 sidebar (do not float them anymore) into a container
that you float right, and give it a width (pullquote needs a width
too).
Of course, I meant the content of your sidebar DIVs not the whole DIVs. So
you're adding one DIV but remove 2.
Thierry | http
Scott Reston wrote:
sidebars will likely be separate cross-sells. If I wrap the divs in
one big div, I still see the same issue.
Are you sure?
I just tried it and it seems to work just fine.
The thing I'm most interested in, though, is the WHY? I want to
Did you check the BugZilla database?
Ingo Chao wrote:
This is float Rule 5: A floating element's top may not be higher than
the top of any earlier floating or block level element.
I knew how to fix the issue, but I was missing the big picture. So thanks
for that piece of information
Thierry | http://www.TJKDesign.com
Ingo Chao wrote:
While I was zooming the text-size in FF, I saw that
one line of text partly overlaps the red float.
http://www.satzansatz.de/cssd/tmp/lineinfloat.html
looks like the real browsers have some float bugs too.
FFnightly20050525 WinXPSP2. Can this be confirmed on a Mac build? If
[EMAIL PROTECTED] wrote:
checked it and w3c css validator didn't complain?
once i changed test-align to text-align
If the Validator returned this error, but that you didn't notice anything
abnormal in the rendering of the page it is possible that you can safely
remove the whole declaration
Hi all,
I think I may have found a new way to enhance the original idea:
The demo (scalable image):
http://www.TJKDesign.com/articles/tip_5.asp
The article:
http://www.TJKDesign.com/articles/tip.asp
Please report any error you may find.
--
Thierry | http://www.TJKDesign.com
Jan Brasna wrote:
Well, I don't fancy it much, I don't like the idea of presentational
image in HTML... I personally use own solution[1], based partly on
Dynatext[2]. Now I'm playing with Anatoly's DIR[3]
http://fecklessmind.com/main/5/definitive-solution-to-image-replacement
If the user
Patrick Lauke wrote:
Maybe I'm missing the point here, but...have we just come full circle?
If you're already adding IMG to the markup, what's the point of doing
h1img src=/img/helloworld.gif alt= /Hello World/h1
and applying lots of CSS to hide the text, if a simple
h1img
pixeldiva wrote:
You mean even if images are disabled?
That's true with some browsers, but not all. I believe FF and Safari
do not show the alt attribute value at all when images are disabled.
And in MSIE, this value is not displayed in relation to the user's
settings regarding text-size.
Patrick Lauke wrote:
Unless I'm mistaken, the WebDev extension does a fairly brutal
remove images
from the DOM. A far more accurate test (if you don't want to change
your
global options) is to choose WebDev's Images Replace Images with
Alt Attributes
option.
Can't vouch for Safari, but if
pixeldiva wrote:
Yes. I do. I get the alt text where it's been applied.
As Patrick pointed out, you must be using the built-in function of FF, but
it does not work that way in Safari (atleast in v.1.2.4).
Regarding MSIE, what I meant is that the alt attribute value does
not match the
Patrick H. Lauke wrote:
Ok, the IR technique I was referring to (now that I've checked) was
the Gilder/Levin method
http://www.mezzoblue.com/tests/revised-image-replacement/#gilderlevin
Believe it or not, but I didn't know about that one ;-)
Identical approach in term of CSS, but - as you know
Philippe Wittenbergh wrote:
For Safari (using 1.3), with images disabled, I get a grey outline
where the image should be, and **sometimes** the alt text displayed.
Like: if it fixes inside the bounding box for the image. If the text
is too long, (ie a long long alt text) on a 20px by 20px
Hi all,
I'd appreciate your feedback about this technique that does not rely on
hooks; it only uses the href attribute...
http://www.tjkdesign.com/articles/popups.asp
Thanks,
Thierry | www.TJKDesign.com
**
The discussion list for
Hi Brian,
Looks good Thierry.
Thanks
One thing though-- what happens to mailto: links?
Good point! To be honnest with you I didn't even think about these :)
But they are safe because I'm checking for an HTTP string inside the
attribute's value.
I think this method could be used to style
I think you ought to check specifically that 'http://' is at the
beginning of the string.
Good point, I'll change this.
a href=/protocols/about_http.htmlFind out about HTTP/a
a href=/affiliate.asp?ref=http://foo.com/bar.php;Set your
affiliation reference cookie/a
And other than
A more reusable approach would be to check for '://', as this is what
differentiates 'mailto:', relative paths and 'http://' links, but will
still allow you to use the script on secure pages.
Whenever dealing with href maniputlation, it's always good to keep
'https' in the back of your mind
Andrew Krespanis wrote:
The problem was that we wanted to handle links to non-html files in a
different manner than regular links. Ideally, it shouldn't require any
more effort from the content author.
The following page shows a simple demonstration of the solution:
Ben Curtis wrote:
But, honestly -- fractions of a millisecond. The only concerns I have
for the equation are:
1- if it's unobtrusively applied, then is it bullet proof (that is,
can it give a false positive a non-scriptor will have to contend
with)?
2- is it easy to read, understand, and
or a prefs page ala Stop Design. http://www.stopdesign.com
I'm using server-side scripts to switch Styles Sheets and keep user's
preferences active:
http://www.css-p.com/TNT/
Thierry | www.TJKDesign.com
**
The discussion list for
Peter Firminger wrote:
You have a usability/accessibility issue with the onChange event on
the style switcher. Take it out and add a button to submit it. Try
NOT using your mouse and tab through to that form instead, then try
and arrow down and you'll see the issue.
I know about it, but
Peter Firminger wrote:
You have a usability/accessibility issue with the onChange event on
the style switcher. Take it out and add a button to submit it. Try
NOT using your mouse and tab through to that form instead, then try
and arrow down and you'll see the issue.
Even something like
Darren Wood wrote:
I use a very simple rule that will allow for CSS validation...
Its the * html selector
As a side note:
- Conditional Comments are IE/Win only (= v5),
- the star selector hack works with IE/Mac too.
Thierry | www.TJKDesign.com
Jeff D. Reid wrote:
Can anyone here please post urls to some reading regarding the use of
sliced images in building a website vs using CSS instead. Kind of a
pros and cons type of paper.
I'm not sure I understand your question. Is it about tables used to hold
sliced images, like some Graphics
Webmaster wrote:
a div-based header/3-column/footer layout that is accessible.
http://www.google.com/search?q=3+column+accessible+css+layout
yields some good results...
Sadly not.
The search for a valid CSS/(X)HTML, hack-free, 3-column CSS layout
continues.
Did you see this one?:
I fall in line with Gary.
I do to, it just makes sense
I use this: onclick=window.open(this.href); return false; instead of
target=_blank.
This short script doesn't name the window, so it should spawn multiple
popups.
I'd use: onclick=window.open(this.href,'myPopup'); return false;
As a side
Gez Lemon wrote:
Hi Thierry,
This short script doesn't name the window, so it should spawn
multiple popups.
I'd use: onclick=window.open(this.href,'myPopup'); return false;
As a side note, some blockers kill these popups.
The window.open function returns true if successful, otherwise
Following the opening new window philosophy thread, I'm curious to know if
there are blockers out there that *kill* links that trigger popups (do not
open a new window, do not call the href value either).
I can understand the logic behind ignoring window.open (even in an
anchor), but then I think
In the case of PDFs opening in a new window, you might not even need
to add a class. You could write a function that looks for the file
extension .pdf in the href attribute and open that link in a new
window.
Andrew Krespanis posted this link a few weeks ago
Jan Brasna wrote:
I can understand the logic behind ignoring window.open (even in an
anchor), but then I think a return false statement should be
ignored as well.
Are you sure? There's no reason for such an action.
Jan,
I'm not sure I understand your question regarding what you've quoted.
Jan Brasna wrote:
Do you mean there is no reason for ignoring the return false
statement?
Yes. I can't see any reason why a browser/plugin/firewall etc. should
ignore an independent part of a JS code.
I see one. In that particular case, such behaviour makes sure that the user
still can reach
Gez Lemon wrote:
I've no idea whether Opera does ignore return false statements, but it
would be outrageous if it did as it completely violates ECMA-262.
Ignoring whether or not it's good practice to have JavaScript
statements in an inline event handler, it is legal, and each statement
should
Jan Brasna wrote:
In this particular case, if you consider normal to arbitrary ignore
the window.open statement [...]
It does not ignore it! The method is fired successfully, but the
environment processing it just does not open new window and tells the
method to return false. It is not
1 - 100 of 543 matches
Mail list logo