Closed Bug 186978 Opened 22 years ago Closed 15 years ago

valsenales.com - javascripted image swap doesn't work

Categories

(Tech Evangelism Graveyard :: Other, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ice, Unassigned)

References

()

Details

(Whiteboard: [dreamweaver] [proprietary-js])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5

the browser doesn't load the specific picture (webcam photo) I select.
It shows always the same photo.
The problem never occours with other browser (StarOffice 5.2, Explorer 6)

Reproducible: Always

Steps to Reproduce:
1.load the url http://www.valsenales.com/webcam/webcam_it.html
2.click on  Picture 2
3.wait for the browser to load the photo 2

Actual Results:  
nothing

Expected Results:  
Show photo N 2
Reporter, you filed a Phoenix specific bug, but this can be reproducable in
Mozilla. For more info, please read http://texturizer.net/phoenix/bugs.html

Anyway, this looks like IE proprietary code to me. Can someone confirm this?

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers[i].document); return x;
}
Component: General → Browser-General
OS: Windows XP → All
Product: Phoenix → Browser
Version: unspecified → 1.0 Branch
Sorry, I guess this should go to Tech Evangelism.
Component: Browser-General → US General
Product: Browser → Tech Evangelism
Version: 1.0 Branch → unspecified
reassign
Assignee: blaker → susiew
QA Contact: asa → zach
Contact addresses are info@valsenales.com and register@profi.it
Assignee: susiew → nitot
Blocks: 51020
Status: UNCONFIRMED → NEW
Component: US General → Europe: West
Ever confirmed: true
Priority: -- → P3
QA Contact: zach → brantgurganus2001
Hardware: PC → All
Summary: when I click on the Picture tab to change the webcam shot, it doesn't change. I see always the same photo!! → valsenales.com - javascripted image swap doesn't work
Whiteboard: [dreamweaver] [proprietary-js]
I've tryied to connect to http://www.valsenales.com/frameset_it.html with
Mozilla 1.3 stable
It has the same problem
Confirming for 
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312

function MM_findObj(n, d) { //v3.0
  var p,i,x;

  if(!d) d=document;
  p=n.indexOf("?");

  if( p ) > 0 && parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
  }
  // ie
  if(!(x=d[n])&&d.all)
   x = d.all[n];

   // not found in IE? try form elements.
  for (i=0; !x && i < d.forms.length;i++)
   x = d.forms[i][n];
  
  // ns4 layers
  for(i=0; !x && d.layers && i < d.layers.length; i++)
    x=MM_findObj(n,d.layers[i].document);

  // DOM code?
  
  return x;
}

Summary: Dreamweaver is for stupid web designers who should be gutted!

move tristans bugs to other
Assignee: nitot → other
Component: Europe: West → Other
QA Contact: brantgurganus2001 → other
*** Bug 221248 has been marked as a duplicate of this bug. ***
*** Bug 220162 has been marked as a duplicate of this bug. ***
404
fixed
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.