Hi there,
Adobe is closing its free eportoflio site this month for good.
I agreed to download and edit an eportfolio of a friend of friend.
I have spent an insane amount of time troubleshooting how to get it to work.
My MAIN problem is thta I have a slideshow with images and when you click on the scrolling images they are supposed to open into an individual file for each different image. I'm havign problems altering the code to this. (I just keeping gettting a page full of errors)
Can anyone here tell me what the heck Im missing or doing wrong ? I have looked through every possible beginner's tutroial I could find and can't figure out what I need to. I think my problem is what I have put in the second page of code (at th eboottm of this message) I think I have the wrong thing for the array= ..Am I on target ?
- THANKS !!! Becky
1st excerpted part of code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0046)http://64.70.151.74/epShowPortfolioThumbs3.asp -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
</SCRIPT>
<SCRIPT language=Javascript1.2>
var thumbs = [{id:96887,thumb:"/_small/96887jpg.jpg",assetNum:"0",width:57},{id:55465,thumb:"/_small/55465jpg.jpg",assetNum:"1",width:26},{id:56556,thumb:"/_small/56556jpg.jpg",assetNum:"2",width:34},{id:56554,thumb:"/_small/56554jpg.jpg",assetNum:"3",width:34},{id:56555,thumb:"/_small/56555jpg.jpg",assetNum:"4",width:34},{id:56576,thumb:"/_small/56576jpg.jpg",assetNum:"5",width:34},{id:55462,thumb:"/_small/55462jpg.jpg",assetNum:"6",width:29},{id:55461,thumb:"/_small/55461jpg.jpg",assetNum:"7",width:29},{id:55460,thumb:"/_small/55460jpg.jpg",assetNum:"8",width:29},{id:96858,thumb:"/_small/96858jpg.jpg",assetNum:"9",width:65},{id:56581,thumb:"/_small/56581jpg.jpg",assetNum:"10",width:65},{id:56582,thumb:"/_small/56582jpg.jpg",assetNum:"11",width:65},{id:56583,thumb:"/_small/56583jpg.jpg",assetNum:"12",width:65},{id:96885,thumb:"/_small/96885jpg.jpg",assetNum:"13",width:34},{id:56577,thumb:"/_small/56577jpg.jpg",assetNum:"14",width:65},{id:56578,thumb:"/_small/56578jpg.jpg",assetNum:"15",width:65},{id:56579,thumb:"/_small/56579jpg.jpg",assetNum:"16",width:65},{id:96857,thumb:"/_small/96857jpg.jpg",assetNum:"17",width:34},{id:96863,thumb:"/_small/96863jpg.jpg",assetNum:"18",width:24},{id:96864,thumb:"/_small/96864jpg.jpg",assetNum:"19",width:24},{id:96889,thumb:"/_small/96889jpg.jpg",assetNum:"20",width:34},{id:56558,thumb:"/_small/56558jpg.jpg",assetNum:"21",width:65},{id:56557,thumb:"/_small/56557jpg.jpg",assetNum:"22",width:65},{id:56559,thumb:"/_small/56559jpg.jpg",assetNum:"23",width:65},{id:56587,thumb:"/_small/56587jpg.jpg",assetNum:"24",width:30},{id:56563,thumb:"/_small/56563jpg.jpg",assetNum:"25",width:65},{id:56561,thumb:"/_small/56561jpg.jpg",assetNum:"26",width:65},{id:56562,thumb:"/_small/56562jpg.jpg",assetNum:"27",width:65},{id:56564,thumb:"/_small/56564jpg.jpg",assetNum:"28",width:65},{id:56569,thumb:"/_small/56569jpg.jpg",assetNum:"29",width:33},{id:65237,thumb:"/_small/65237jpg.jpg",assetNum:"30",width:28},{id:96866,thumb:"/_small/96866jpg.jpg",assetNum:"31",width:33},{id:56571,thumb:"/_small/56571jpg.jpg",assetNum:"32",width:34},{id:56570,thumb:"/_small/56570jpg.jpg",assetNum:"33",width:34},{id:56580,thumb:"/_small/56580jpg.jpg",assetNum:"34",width:33},{id:96865,thumb:"/_small/96865jpg.jpg",assetNum:"35",width:34},{id:96861,thumb:"/_small/96861jpg.jpg",assetNum:"36",width:34},{id:96862,thumb:"/_small/96862jpg.jpg",assetNum:"37",width:34},{id:96860,thumb:"/_small/96860jpg.jpg",assetNum:"38",width:28},{id:56586,thumb:"/_small/56586jpg.jpg",assetNum:"39",width:34},{id:56584,thumb:"/_small/56584jpg.jpg",assetNum:"40",width:34},{id:55463,thumb:"/_small/55463jpg.jpg",assetNum:"41",width:29},{id:96856,thumb:"/_small/96856jpg.jpg",assetNum:"42",width:35},{id:96888,thumb:"/_small/96888jpg.jpg",assetNum:"43",width:57}];
function goTo( id ) {
parent.preview.location.href="epShowPortfolioTop.asp?id=" + id + "&color=766C8F";
}
</SCRIPT>
The thumb/images then links to this code:
<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK
href="epShowPortfolioTop_files/common.css" type=text/css rel=styleSheet>
<SCRIPT language=JavaScript>
var platform = "win";
var browser = "ns"; // setting this to ns by default handles uni, and obscure browsers
if (navigator.platform.indexOf('Mac') > -1)
platform = "mac";
if (navigator.appName.indexOf('Microsoft') > -1)
browser = "ie";
var styleSheet = platform + "_" + browser + ".css";
document.write('<LINK HREF=http://www.webdeveloper.com/forum/archive/index.php/"/wa/style/template_' + styleSheet + '" REL="styleSheet" TYPE="text/css">');
</SCRIPT>
<STYLE>A.here {
BACKGROUND-COLOR: yellow
}
</STYLE>
<!-- Insert Detection Code for Clip Types -->
<SCRIPT language=JavaScript1.2 src=http://www.webdeveloper.com/forum/archive/index.php/"js/epScripts.js"></SCRIPT>
<SCRIPT language=JavaScript1.2>
ns4 = (document.layers)? true:false
ie4 = (document.all && getVer() == 4)? true:false
var noPlugin;
function getVer()
{
var s = navigator.appVersion.indexOf("MSIE", 0);
var str = navigator.appVersion.substring(s+4);
return parseInt(str);
}
function zoomImg()
{
var zoomwin = window.open("epZoomImg.asp?artist=448520011946175164&portfolio=5926&asset="+ id +"&width=758&height=600","Image_View","directories=no,location=no,menus=no,menubar=no,width=758,height=600,resizable,scrollbars" );
zoomwin.focus();
}
function checkZoom(){
if (!noPlugin){
zoomImg();
}
else{
checkPlug('JPG')
}
}
function macFix(){
if (ie4 && (navigator.platform.indexOf('Mac') > -1)){
document.write('<DIV STYLE="font-size:1pt">.</DIV>');
}
}
function macFormFix(){
if (ie4 && (navigator.platform.indexOf('Mac') > -1)){
document.write('<BR>');
}
}
</SCRIPT>
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY bottomMargin=0 bgColor=#766c8f leftMargin=4 topMargin=6 MARGINWIDTH="8"
MARGINHEIGHT="8">
<SCRIPT>macFormFix();</SCRIPT>
<TABLE height=296 cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff height=296 rowSpan=3><IMG height=1
src=http://www.webdeveloper.com/forum/archive/index.php/"epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD width=400 bgColor=#ffffff height=1>
<SCRIPT>macFix();</SCRIPT>
<IMG height=1 src="epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD bgColor=#ffffff height=296 rowSpan=3><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD></TR>
<TR>
<TD vAlign=center align=middle width="100%" bgColor=#766c8f height=296>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle bgColor=#766c8f height=296><IMG
src=""
name=mainImage><BR></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#ffffff><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD></TR></TBODY></TABLE>
<TABLE height=66 cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff height=66 rowSpan=3><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD class=desc766C8F width=400><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD bgColor=#ffffff height=66 rowSpan=3><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD></TR>
<TR>
<TD class=desc766C8F vAlign=top align=left width="100%" height=66>
<TABLE cellSpacing=0 cellPadding=2 border=1>
<TBODY>
<TR>
<TD class=desc766C8F vAlign=top width="100%" height=66>
<TABLE class=desc766C8F cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD class=desc766C8F vAlign=top width=360><IFRAME
class=desc766C8F
src="epShowDescLayer.asp?color=766C8F&asset=""
frameBorder=1 width=360 height=66></IFRAME></TD>
<TD vAlign=top><A href="javascript:checkZoom()"><IMG
title=Zoom alt=Zoom src="epShowPortfolioTop_files/zoom.gif"
align=right border=0></A>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#ffffff><IMG height=1
src="epShowPortfolioTop_files/spacer.gif"
width=1></TD></TR></TBODY></TABLE></BODY></HTML>
Adobe is closing its free eportoflio site this month for good.
I agreed to download and edit an eportfolio of a friend of friend.
I have spent an insane amount of time troubleshooting how to get it to work.
My MAIN problem is thta I have a slideshow with images and when you click on the scrolling images they are supposed to open into an individual file for each different image. I'm havign problems altering the code to this. (I just keeping gettting a page full of errors)
Can anyone here tell me what the heck Im missing or doing wrong ? I have looked through every possible beginner's tutroial I could find and can't figure out what I need to. I think my problem is what I have put in the second page of code (at th eboottm of this message) I think I have the wrong thing for the array= ..Am I on target ?
- THANKS !!! Becky
1st excerpted part of code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0046)http://64.70.151.74/epShowPortfolioThumbs3.asp -->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
</SCRIPT>
<SCRIPT language=Javascript1.2>
var thumbs = [{id:96887,thumb:"/_small/96887jpg.jpg",assetNum:"0",width:57},{id:55465,thumb:"/_small/55465jpg.jpg",assetNum:"1",width:26},{id:56556,thumb:"/_small/56556jpg.jpg",assetNum:"2",width:34},{id:56554,thumb:"/_small/56554jpg.jpg",assetNum:"3",width:34},{id:56555,thumb:"/_small/56555jpg.jpg",assetNum:"4",width:34},{id:56576,thumb:"/_small/56576jpg.jpg",assetNum:"5",width:34},{id:55462,thumb:"/_small/55462jpg.jpg",assetNum:"6",width:29},{id:55461,thumb:"/_small/55461jpg.jpg",assetNum:"7",width:29},{id:55460,thumb:"/_small/55460jpg.jpg",assetNum:"8",width:29},{id:96858,thumb:"/_small/96858jpg.jpg",assetNum:"9",width:65},{id:56581,thumb:"/_small/56581jpg.jpg",assetNum:"10",width:65},{id:56582,thumb:"/_small/56582jpg.jpg",assetNum:"11",width:65},{id:56583,thumb:"/_small/56583jpg.jpg",assetNum:"12",width:65},{id:96885,thumb:"/_small/96885jpg.jpg",assetNum:"13",width:34},{id:56577,thumb:"/_small/56577jpg.jpg",assetNum:"14",width:65},{id:56578,thumb:"/_small/56578jpg.jpg",assetNum:"15",width:65},{id:56579,thumb:"/_small/56579jpg.jpg",assetNum:"16",width:65},{id:96857,thumb:"/_small/96857jpg.jpg",assetNum:"17",width:34},{id:96863,thumb:"/_small/96863jpg.jpg",assetNum:"18",width:24},{id:96864,thumb:"/_small/96864jpg.jpg",assetNum:"19",width:24},{id:96889,thumb:"/_small/96889jpg.jpg",assetNum:"20",width:34},{id:56558,thumb:"/_small/56558jpg.jpg",assetNum:"21",width:65},{id:56557,thumb:"/_small/56557jpg.jpg",assetNum:"22",width:65},{id:56559,thumb:"/_small/56559jpg.jpg",assetNum:"23",width:65},{id:56587,thumb:"/_small/56587jpg.jpg",assetNum:"24",width:30},{id:56563,thumb:"/_small/56563jpg.jpg",assetNum:"25",width:65},{id:56561,thumb:"/_small/56561jpg.jpg",assetNum:"26",width:65},{id:56562,thumb:"/_small/56562jpg.jpg",assetNum:"27",width:65},{id:56564,thumb:"/_small/56564jpg.jpg",assetNum:"28",width:65},{id:56569,thumb:"/_small/56569jpg.jpg",assetNum:"29",width:33},{id:65237,thumb:"/_small/65237jpg.jpg",assetNum:"30",width:28},{id:96866,thumb:"/_small/96866jpg.jpg",assetNum:"31",width:33},{id:56571,thumb:"/_small/56571jpg.jpg",assetNum:"32",width:34},{id:56570,thumb:"/_small/56570jpg.jpg",assetNum:"33",width:34},{id:56580,thumb:"/_small/56580jpg.jpg",assetNum:"34",width:33},{id:96865,thumb:"/_small/96865jpg.jpg",assetNum:"35",width:34},{id:96861,thumb:"/_small/96861jpg.jpg",assetNum:"36",width:34},{id:96862,thumb:"/_small/96862jpg.jpg",assetNum:"37",width:34},{id:96860,thumb:"/_small/96860jpg.jpg",assetNum:"38",width:28},{id:56586,thumb:"/_small/56586jpg.jpg",assetNum:"39",width:34},{id:56584,thumb:"/_small/56584jpg.jpg",assetNum:"40",width:34},{id:55463,thumb:"/_small/55463jpg.jpg",assetNum:"41",width:29},{id:96856,thumb:"/_small/96856jpg.jpg",assetNum:"42",width:35},{id:96888,thumb:"/_small/96888jpg.jpg",assetNum:"43",width:57}];
function goTo( id ) {
parent.preview.location.href="epShowPortfolioTop.asp?id=" + id + "&color=766C8F";
}
</SCRIPT>
The thumb/images then links to this code:
<HTML>
<HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><LINK
href="epShowPortfolioTop_files/common.css" type=text/css rel=styleSheet>
<SCRIPT language=JavaScript>
var platform = "win";
var browser = "ns"; // setting this to ns by default handles uni, and obscure browsers
if (navigator.platform.indexOf('Mac') > -1)
platform = "mac";
if (navigator.appName.indexOf('Microsoft') > -1)
browser = "ie";
var styleSheet = platform + "_" + browser + ".css";
document.write('<LINK HREF=http://www.webdeveloper.com/forum/archive/index.php/"/wa/style/template_' + styleSheet + '" REL="styleSheet" TYPE="text/css">');
</SCRIPT>
<STYLE>A.here {
BACKGROUND-COLOR: yellow
}
</STYLE>
<!-- Insert Detection Code for Clip Types -->
<SCRIPT language=JavaScript1.2 src=http://www.webdeveloper.com/forum/archive/index.php/"js/epScripts.js"></SCRIPT>
<SCRIPT language=JavaScript1.2>
ns4 = (document.layers)? true:false
ie4 = (document.all && getVer() == 4)? true:false
var noPlugin;
function getVer()
{
var s = navigator.appVersion.indexOf("MSIE", 0);
var str = navigator.appVersion.substring(s+4);
return parseInt(str);
}
function zoomImg()
{
var zoomwin = window.open("epZoomImg.asp?artist=448520011946175164&portfolio=5926&asset="+ id +"&width=758&height=600","Image_View","directories=no,location=no,menus=no,menubar=no,width=758,height=600,resizable,scrollbars" );
zoomwin.focus();
}
function checkZoom(){
if (!noPlugin){
zoomImg();
}
else{
checkPlug('JPG')
}
}
function macFix(){
if (ie4 && (navigator.platform.indexOf('Mac') > -1)){
document.write('<DIV STYLE="font-size:1pt">.</DIV>');
}
}
function macFormFix(){
if (ie4 && (navigator.platform.indexOf('Mac') > -1)){
document.write('<BR>');
}
}
</SCRIPT>
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY bottomMargin=0 bgColor=#766c8f leftMargin=4 topMargin=6 MARGINWIDTH="8"
MARGINHEIGHT="8">
<SCRIPT>macFormFix();</SCRIPT>
<TABLE height=296 cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff height=296 rowSpan=3><IMG height=1
src=http://www.webdeveloper.com/forum/archive/index.php/"epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD width=400 bgColor=#ffffff height=1>
<SCRIPT>macFix();</SCRIPT>
<IMG height=1 src="epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD bgColor=#ffffff height=296 rowSpan=3><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD></TR>
<TR>
<TD vAlign=center align=middle width="100%" bgColor=#766c8f height=296>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle bgColor=#766c8f height=296><IMG
src=""
name=mainImage><BR></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#ffffff><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD></TR></TBODY></TABLE>
<TABLE height=66 cellSpacing=0 cellPadding=0 width=400 border=0>
<TBODY>
<TR>
<TD bgColor=#ffffff height=66 rowSpan=3><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD class=desc766C8F width=400><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD>
<TD bgColor=#ffffff height=66 rowSpan=3><IMG height=1
src="epShowPortfolioTop_files/spacer.gif" width=1></TD></TR>
<TR>
<TD class=desc766C8F vAlign=top align=left width="100%" height=66>
<TABLE cellSpacing=0 cellPadding=2 border=1>
<TBODY>
<TR>
<TD class=desc766C8F vAlign=top width="100%" height=66>
<TABLE class=desc766C8F cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD class=desc766C8F vAlign=top width=360><IFRAME
class=desc766C8F
src="epShowDescLayer.asp?color=766C8F&asset=""
frameBorder=1 width=360 height=66></IFRAME></TD>
<TD vAlign=top><A href="javascript:checkZoom()"><IMG
title=Zoom alt=Zoom src="epShowPortfolioTop_files/zoom.gif"
align=right border=0></A>
</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR>
<TR>
<TD bgColor=#ffffff><IMG height=1
src="epShowPortfolioTop_files/spacer.gif"
width=1></TD></TR></TBODY></TABLE></BODY></HTML>