[WSG] IE7 and scripting

2006-03-11 Thread Keryx webb
There has been much talk about improved CSS-support in MSIE 7, but what about 
improved ECMAScript and DOM-support in MSIE 7?


Except for non Active-X XMLHttpRequest I've yet to see any explanations about 
improvements in this area. Anyone who has?


I played (a small) part of reporting IE's incorrect handling of getAttribute, 
setAttribute and removeAttribute on 
http://en.wikipedia.org/wiki/Comparison_of_layout_engines_%28DOM%29. Naturally I 
wonder: Will these methods be fixed?


Another thing I've seen is that many scripts that test for 'document.all' or 
'attachEvent' or some other similar MS proprietary function often do so *before* 
they test for W3C functions, as in John Resig's winning addEvent 
(http://ejohn.org/projects/flexible-javascript-events/)


function addEvent( obj, type, fn ) {
  if ( obj.attachEvent ) {
obj['e'+type+fn] = fn;
obj[type+fn] = function(){obj['e'+type+fn]( window.event );}
obj.attachEvent( 'on'+type, obj[type+fn] );
  } else
obj.addEventListener( type, fn, false );
}

*If* MS in the future will start supporting the better function, but continues 
to support their old one as well, wouldn't it be better if the checks were done 
in different order?


Or to make my question really MSIE 7 specific: What will be *dropped*? What 
proprietary HTML, CSS and DOM will they stop supporting, if any?



Lars Gunther

P.S. I will start using a combination of the techniques demonstrated by John 
Resig and Dean Edwards (at http://dean.edwards.name/weblog/2005/12/js-tip1/) for 
my own event-handling in the future.

**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Announcing GrayBit v0.5 Beta

2006-03-11 Thread Mike at Green-Beast.com
Russ, Steve,

Thank you. 

Mike Cherim
http://green-beast.com/
http://accessites.org/
http://graybit.com/

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Announcing GrayBit v0.5 Beta

2006-03-11 Thread Thierry Koblentz
Mike at Green-Beast.com wrote:
 I made all of the suggested changes to the GrayBit [1]
 page/application -- downgrading to XHTML 1.0 Strict and correcting
 the font-size issue for IE (bugs passed along and added to the bug
 list) and I thank you for this. However, since I didn't hear from
 that many of you, I figured I'd continue this on one more time to
 solicit responses.

 Does an anyone have any additional feedback, good, bad, or otherwise?

Hi Mike,
I see two problems in IE 6:
- the main content jumps when the user hovers over the text box or over the
links in the footer
- the border of the text box decreases when the user hovers over it

I believe the padding value (in %) creates the first problem.
For the text box, my theory is that IE ignores the button class below
and wrongly uses this rule to style the text box hence the drop of 2px
(border top and bottom: 2px instead of 3px):
input.button.hover {blahblah} /* is read by IE as input.hover {} */

As a side note, since you have only one text box in there you can drop the
class and go for the element itself.

Nice tool, it doesn't do anything to my own site though ;)

HTH,
Thierry | www.TJKDesign.com

**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



[WSG] Wanted ASAP: Clean and Simple image gallery script

2006-03-11 Thread Jay Gilmore
If anyone on this list knows of or has a clean and simple PHP/MySQL 
image gallery script that is not full of nested tables and is easy to 
modify with a basic php knowledge I need it for a project. Preferably 
one that uses GD and not Imagemagik and doesn't require register globals 
 to be on and safe mode off.


Of list responses are fine but I think others may be interested in a 
possible resource.


All the best,

Jay

--
Jay Gilmore
Developer / Consultant
SmashingRed Web  Marketing
P] 902.529.0651
E] [EMAIL PROTECTED]
U] http://www.smashingred.com
B] http://www.smashingred.com/blog
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Wanted ASAP: Clean and Simple image gallery script

2006-03-11 Thread Lukasz Grabun

Jay Gilmore napisał(a):

If anyone on this list knows of or has a clean and simple PHP/MySQL 
image gallery script that is not full of nested tables and is easy to 
modify with a basic php knowledge I need it for a project. Preferably 
one that uses GD and not Imagemagik and doesn't require register globals 
 to be on and safe mode off.


http://www.zenphoto.org/

Fulfills, AFAIK, all or most of your requirements.

--
Łukasz Grabuń http://grabun.com/
Oxymoron no 31. Living dead
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Wanted ASAP: Clean and Simple image gallery script

2006-03-11 Thread Rob Mientjes
On 11/03/06, Jay Gilmore [EMAIL PROTECTED] wrote:
 If anyone on this list knows of or has a clean and simple PHP/MySQL
 image gallery script that is not full of nested tables and is easy to
 modify with a basic php knowledge I need it for a project. Preferably
 one that uses GD and not Imagemagik and doesn't require register globals
   to be on and safe mode off.

I recommend http://zenphoto.org/. Not sure about register_globals,
but it excels on every level. Doesn't do tags yet, but seems to be in
the works. The latest, 1.0, features even more things than I've worked
with yet—working with a pre-1.0 somewhere—and is still very
lightweight.

HTH
-Rob.


Re: [WSG] Wanted ASAP: Clean and Simple image gallery script

2006-03-11 Thread Jay Gilmore

Lukasz Grabun wrote:


Fulfills, AFAIK, all or most of your requirements.

After peeking at the site and looking at the demo code I think you have 
hit the nail on the head.


I am open to other suggestions from members though.

ATB,

Jay

--
Jay Gilmore
Developer / Consultant
SmashingRed Web  Marketing
P] 902.529.0651
E] [EMAIL PROTECTED]
U] http://www.smashingred.com
B] http://www.smashingred.com/blog
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] Wanted ASAP: Clean and Simple image gallery script

2006-03-11 Thread Leonardo Colagrossi
Hi,
i can help you but the gallery script is written in javascript

This is the script

script language=JavaScript type=text/javascript
n=0
foto=new Array()
foto[0]=immagini/foto1.jpg
foto[1]=immagini/foto2.jpg
foto[2]=immagini/foto3.jpg
foto[3]=immagini/foto4.jpg
foto[4]=immagini/foto5.jpg
foto[5]=immagini/foto6.jpg
foto[6]=immagini/foto7.jpg
foto[7]=immagini/foto8.jpg
foto[8]=immagini//foto9.jpg
foto[9]=immagini/foto10.jpg

function avanti() {
if(n9) {
n++
document.foto.src=foto[n]
}
}
function indietro() {
if(n0) {
n--
document.foto.src=foto[n]
}
}
/script


you can see it at page

http://www.hotelmanola.org/camere.php

I' m building this site  but this scrpit is very simple and very fast!!

2006/3/11, Jay Gilmore [EMAIL PROTECTED]:
 If anyone on this list knows of or has a clean and simple PHP/MySQL
 image gallery script that is not full of nested tables and is easy to
 modify with a basic php knowledge I need it for a project. Preferably
 one that uses GD and not Imagemagik and doesn't require register globals
  to be on and safe mode off.

 Of list responses are fine but I think others may be interested in a
 possible resource.

 All the best,

 Jay

 --
 Jay Gilmore
 Developer / Consultant
 SmashingRed Web  Marketing
 P] 902.529.0651
 E] [EMAIL PROTECTED]
 U] http://www.smashingred.com
 B] http://www.smashingred.com/blog
 **
 The discussion list for  http://webstandardsgroup.org/

  See http://webstandardsgroup.org/mail/guidelines.cfm
  for some hints on posting to the list  getting help
 **


**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] Wanted ASAP: Clean and Simple image gallery script

2006-03-11 Thread Joshua Street
On 3/12/06, Jay Gilmore [EMAIL PROTECTED] wrote:
 I am open to other suggestions from members though.

http://cat-scan.net/ (but this uses flat-files rather than a database).

--
Joshua Street

http://joahua.com/blog/
+61 (0) 425 808 469
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**