Lossing page format when uploading to server
Interesting problem - flash site works fine locally, wether I
play the swf file or open the html page that calls the swf file
into the browser. Upload the site and all associated files, loose
the page format on all pages, headings are lost and files will not
load. The site uses as2 code and I have been publishing as that
from cs3. Not sure how to correct this problem, any ideas would be
helpful.
Rob,
Thanks for reviewing my site. I had intended to post a
comment last night but forgot due to the caos at home. I found the
problem with the pics and loading. I had a typo in the xml file,
the file extensions were capitalized, which ment the as was not
finding the pic files. Lesson learned! It took me forever to find
this!
Similar Messages
-
Swf is not working properly when upload to server
I develop 1.swf which is having 3 buttons each one having
anather .swf to call 2.swf, 3.swf respectively.
This application is running perfectly on my PC, but
While uploading the swf to server the 2.swf and 3.swf is
not running. Can any one tell how to recover from this kind
of problem.justbipin wrote:
> basically my code working perfectly,
> but its not working properly when upload to server
> can anybody having any ref. or link to solve this
issues.
why is that we insist on seeing the source file ?
There is no one way of doing things in flash and no one can
help
you based on "does not work description".
This is way to broad of a subject to even try to guess.
Same as asking "my car does not work, what's up with
that"....
Please upload the problematic file and provide url for us to
check.
Otherwise you need to try to troubleshoot it yourself as we
can't
guess from here what possibly is wrong with that file.
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free> -
Page blinks when uploaded........?
Hi, i have only started learning anything about webdesign
(dreamweaver)
for three months now. Now i have come across a problem with
my site and i hav no clue.
One of the pages 'blinks' when uploaded>>
http://www.stuntworldactioncamp.com/groupevents.html
Also at first the search-engines found it easily and the page
came up like
6 x on the first Google page, but now nothing
anymore......what happend??
Could someone have a look at it pls?
KarinBlinks?
The page is built with antique methods not well suited to
today's search
engine requirements. For example -
<!-- META Tags Created With: STW META Tag Builder
http://www.scrubtheweb.com/abs/
-->
It's not likely that this will add any SEO value to your
page, since meta
keywords are ignored by the major search engines. Further,
there is no
semantic markup on your page (<h#> tags, particularly)
to give extra
significance to paragraph content. Finally, the titles of the
individual
pages are not built with search engine keywords or phrases in
mind. Perhaps
a read of these will help -
http://www.seomoz.org/articles/search-ranking-factors.php
http://www.dreamweaverresources.com/seo/
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"cagney31" <[email protected]> wrote in
message
news:eun0ip$cc6$[email protected]..
> Hi, i have only started learning anything about
webdesign (dreamweaver)
> for three months now. Now i have come across a problem
with my site and i
> hav
> no clue.
> One of the pages 'blinks' when uploaded>>
>
http://www.stuntworldactioncamp.com/groupevents.html
> Also at first the search-engines found it easily and the
page came up like
> 6 x on the first Google page, but now nothing
anymore......what happend??
> Could someone have a look at it pls?
> Karin
>
> -
Spry Vertical Menu does not display properly when uploaded to server.
I am using Dreamweaver CS5 Version 11.0 Build 4909 on Windows XP. The website I am working on is displaying the ordered list incorrectly. The drop down submenus are not lined up underneath each other.
So I did a basic one and uploaded it to the server and had the same outcome. Locally it looks fine but uploaded to the hosting server not fine. Below is the code from the document called deleteme.html. I am new to all this so I apologize if this seems basic. Thanks for your help in advanced.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarVertical.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="container">Content for id "container" Goes Here
<ul id="MenuBar1" class="MenuBarVertical">
<li><a class="MenuBarItemSubmenu" href="#">Item 1</a>
<ul>
<li><a href="#">Item 1.1</a></li>
<li><a href="#">Item 1.2</a></li>
<li><a href="#">Item 1.3</a></li>
</ul>
</li>
<li><a href="#">Item 2</a></li>
<li><a class="MenuBarItemSubmenu" href="#">Item 3</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Item 4</a></li>
</ul>
</div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>Hello all,
Thanks to everyone who replied to my post. I have it working now but I have other issues that I will post separately.
Here was my thought process and you can tell me if I am right or wrong. I was working with multiple pages that I was using Spry. I had only one folder set that all the Spry Assets were being saved into. My thinking was that they were getting over written. So I deleted the folder and re-built the page. When I deleted Spry Assets folder it showed me I had 6 pages linked to the Spry Assets folder. I also deleted my Spry Assets folder on my hosting server....thought I would really start from scratch. When I went to upload the files I created a SpryAssets folder and what I realized I had originally put a space between the y and a of the folder name. So I am not sure if the elements in the Spry Assets folder were getting over written or it was because I had a space in the folder name. Thanks again, Mike -
Loss of formatting when emailing a AW6 ASCIII Text document
Background: I have taken an .xls email file from a PC user which I was able to open with icExcel. The .xls file was set up wrong---only two columns, surname in one and all other data (street address, city, state, zip, tel., email address) in another column. I created a spreadsheet file in icExcel AWorks6 and did a lot of cutting and pasting from the original file to create a true 7 column spreadsheet. I saved it as an ASCII Text document because my intent is to email it back to the PC user.
Now the dilemma---I can take that ASCII Text document and reopen it in an AW6 spreadsheet or into a database on my computer, no problems. Everything is formatted correctly. When I email the .txt document as an attachment to myself (experimenting first before emailing it to the PC user) it opens up automatically as a word processing document with all the formatting gone. I sent it to another of my email addresses, it did not open up automatically but the attachment came across as an HTTP text unix document file. What is happening to the structure and column formatting when I email the .txt document. What am I doing wrong following putting it into ASCII Text? Help please!! CAB
Mac mini Intel/iBook G3 Mac OS X (10.4.5) Mac OSX (10.3.5) for iBook
Mac mini Intel/iBook G3 Mac OS X (10.4.5) Mac OSX (10.3.5) for iBookWhen you save an AppleWorks spreadsheet as text, you get a tab delimited file.
Data in each cell is followed by a tab character, and a return character separates the rows of data.
Your text file, opened into an AppleWorks WP document, should retain the tab characters, but will not display properly unless you have set tab stops in the ruler. AppleWorks defaults to a tab stop every half inch, and a tab character will push text to the next available stop. Variable length of data will cause data that should line up in the same column to be offset.
You can check for the presence of tabs (and other invisible characters) by pressing command-; (semi colon). Pressing the same keys again toggles the display off.
Try launching AppleWorks then specifying Spreadsheet as the document type when you open it using AW's Open dialogue (File > Open).
If you are successful, then the file should be openable by the PC user, using Excel. Three other notes: Be sure you check the Send Windows friendly attachments box in Mail when attaching the file. Be sure you add the .txt extension to the file name AppleWorks does not automatically add it). Tell the Windows user that the file is a tab delimited text file.
Regards,
Barry -
Hi,
I currently using v2.25 mac bookflip. The problem I am facing is that the onMouseDown and onMouseUp works well in swf. However, when the I upload to the web server and localhost. The chances for them to work are 50-50.
The truth is I was unable to drag the pages and I have no ideas what to do, and where to the start from can anyone tell me. what to do next?
To call the MouseUp. Basically, One swf (preloader)> load another swf (main menu and selection of books) > load another swf to read the book flip which my mouseDown is here.
Here is all the codes from mac v2.25 bookflip function. I only change the setPages function to make it load dynamically.
Notes, the problem is not sometimes. It many times.
//do not change these values: ----------------------------------------------------------------------------------------- ----------------------------
_global.mcnt = 0; //counter (used on a page where is an animation)
var gpage:Number= 0; //gotoPage No
var gflip:Boolean= false; //gotoPage flip
var gdir:Number= 0; //goto direction
var gskip:Boolean= false; //skip pages
var gtarget:Number= 0; //target when skipping
var aflip:Boolean= false; //auto flip
var flip:Boolean= false; //pageflip
var flipOff:Boolean= false; //terminateflip
var flipOK:Boolean= false; //good flip
var hflip:Boolean= false; //hardflip (the cover of the book)
var rotz:Number= -30; //hardflip max y difference
var preflip:Boolean= false; //corner flip status
var ctear:Boolean= false; //actual page status
var tear:Boolean= false;
var teard:Number= 0;
var tlimit:Number= 80;
var removedPages:Array= new Array(); //list of removed pages!
mpx = 0, mpy = 0; //mousepos at click
sx = sy = 0; //startpoint when flipping
var x:Number= 0; //mouse x,y
var y:Number= 0;
var ax:Number= 0; //auto x,y
var ay:Number= 0;
var acnt:Number= 0;
var aadd:Number= 0;
var aamp:Number= 0;
AM= Math.PI/180;
//initializing pages
function reset()
pages.p4.page._x = -pw;
pages.p4._x = pw;
pages.p1.page._x = -pw;
pages.p1._x = 0;
pages.flip.p2.page._x = -pw;
pages.flip.p2._x = pw;
pages.flip.p3.page._x = -pw;
pages.flip.p3._x = 0;
pages.p0.page._x = -pw;
pages.p0._x = 0;
pages.p5.page._x = -pw;
pages.p5._x = pw;
pages.pLL.page._x = -pw;
pages.pLL._x = 0;
pages.pLR.page._x = -pw;
pages.pLR._x = pw;
pages._visible= true;
pages.p1.page.pf.ph.mask._width= pages.flip.p2.page.pf.ph.mask._width= pages.flip.p3.page.pf.ph.mask._width= pages.p4.page.pf.ph.mask._width= pw;
pages.p1.page.pf.ph.mask._height= pages.flip.p2.page.pf.ph.mask._height= pages.flip.p3.page.pf.ph.mask._height= pages.p4.page.pf.ph.mask._height= ph;
//NEW THEORY UNPROVEN
/* pages.p1.page.pf.ph.attachMovie("pagesPreloader_mc", "pagesPreloader_mc", 0, {_visible:false});
pages.p4.page.pf.ph.attachMovie("pagesPreloader_mc", "pagesPreloader_mc", 0, {_visible:false});*/
pages.p1.page.pf.ph.pagesPreloader_mc._x= pages.p4.page.pf.ph.pagesPreloader_mc._x = pw/2;
pages.p1.page.pf.ph.pagesPreloader_mc._y= pages.p4.page.pf.ph.pagesPreloader_mc._y= ph/2;
pages.p0.page.pf.ph.mask._width= pages.p5.page.pf.ph.mask._width= pw;
pages.p0.page.pf.ph.mask._height= pages.p5.page.pf.ph.mask._height= ph;
pages.pgrad._visible = pages.mask._visible = pages.flip._visible = false;
pages.flip.p3mask._width = pages.pgmask._width = pw*2;
pages.flip.p3mask._height = pages.pgmask._height = ph;
pages.center._height = ph+2*lcaddy;
pages.flip.fmask.page.pf._width = pw;
pages.center._width = 6;
pages.flip.fmask.page.pf._height = ph;
pages.mask._width = pages.mask._height = pages.pgrad._height = pages.flip.p3shadow._height = pages.flip.flipgrad._height = 2*Math.sqrt(ph*ph+pw*pw);
pageNumber = new Array();
for(i=0;i<=(maxpage+1);i++) pageNumber[i] = i;
//////////////////////////////////////////////////////////////////////////////////MouseUP
//initializing mouse click handler
mousecontroll = new Object();
mousecontroll.onMouseDown = function()
if(flip && !aflip)
flipOK = false;
if(sx<0 && pages._xmouse>0) flipOK = true;
if(sx>0 && pages._xmouse<0) flipOK = true;
flipOff = true;
flip = false;
else if((flipOff || aflip || !canflip) && !preflip)
else if(!preflip)
var oox = ox;
var ooy = oy;
var osx = sx;
var osy = sy;
hit = hittest(); //hittest
if(hit)
startsnd(1); //Sound
flip = true;
flipOff = false;
tear = false; //not tearing yet
ox = sx = hit*pw;
pages.flip.setMask(pages.mask);
mpx = pages._xmouse, mpy = pages._ymouse;
oef();
//_quality = "MEDIUM"; //it is the place to degrade image quality while turning pages if the performance is too low.
else
{ //if preflipping
startsnd(1); //Sound
flip = true;
flipOff = false;
tear = false; //not tearing yet
aflip = preflip = false;
mpx = pages._xmouse, mpy = pages._ymouse;
oef();
mousecontroll.onMouseUp = function()
if(flip && !tear)
if((Math.abs(pages._xmouse)>(pw-afa) && Math.abs(pages._ymouse)>(ph/2-afa) && Math.abs(pages._xmouse-mpx)<afa) || preflip)
flip = false;
preflip = false;
autoflip();
startsnd(2); //sound
else if(!preflip)
preflip = false;
flipOK = false;
if(sx<0 && pages._xmouse>0) flipOK = true;
if(sx>0 && pages._xmouse<0) flipOK = true;
flipOff = true;
flip = false;
if(flipOK) startsnd(2); //sound
function hittest()
{ //hittest at mouse clicks, if click is over the book -> determining turning direction
var x=pages._xmouse;
var y=pages._ymouse;
var pmh = ph/2;
if(y<=pmh && y>=-pmh && x<=pw && x>=-pw)
var r = Math.sqrt(x*x+y*y);
var a = Math.asin(y/r);
var y = Math.tan(a)*pw;
if(y>0 && y>ph/2) y = ph/2;
if(y<0 && y<-ph/2) y = - ph/2;
oy = sy = y;
r0 = Math.sqrt((sy+ph/2)*(sy+ph/2)+pw*pw);
r1 = Math.sqrt((ph/2-sy)*(ph/2-sy)+pw*pw);
pageN = eval("pages.flip.p2.page");
pageO = eval("pages.flip.p3");
offs = -pw;
pages.flip.fmask._x = pw;
if(x<-(pw-clickarea) && page>0)
{ //>-----> flip backward
pages.flip.p3._x = 0;
hflip = checkCover(page,-1);
setPages(page-2,page-1,page,page+1);
ctear = pageCanTear[page];
return -1;
if(x>(pw-clickarea) && page<maxpage)
{ //<-----< flip forward
pages.flip.p3._x = pw;
hflip = checkCover(page,1);
setPages(page,page+2,page+1,page+3);
ctear = pageCanTear[page+1];
return 1;
} else return 0; //wrong click
function checkCover(p,dir)
if(hcover)
if(dir>0)
if(p==(maxpage-2) || p==0) return true;
else
if(p==maxpage || p==2) return true;
return false;
function corner()
var x = Math.abs(pages._xmouse);
var y = Math.abs(pages._ymouse);
if(x>(pw-afa) && x<pw && y>(ph/2-afa) && y<(ph/2))
return true;
return false;
function oef()
_global.mcnt++; //main counter incrase (need for some page effect);
if(!flip && corner()) //corner mouseover
preflip = true;
if(!autoflip()) preflip = false;
if(preflip && !corner())
preflip = false;
flip = false;
flipOK = false;
flipOff = true;
getm();
if(aflip && !preflip)
y = (ay += (sy-ay)/(gflip? gs: ps ));
acnt += aadd;
ax -= aadd;
if(Math.abs(acnt)>pw)
flipOK = true;
flipOff = true;
flip = false;
aflip = false;
if(flip) //page turning is in progress
if(tear) {
x = tox;
y = (toy += teard);
teard *= 1.2;
if(Math.abs(teard)>1200) {
flipOff = true;
flip = false;
} else {
x = (ox += (x-ox)/(gflip? gs: ps ));
y = (oy += (y-oy)/(gflip? gs: ps ));
calc(x,y); //positioning pages and shadows
if(flipOff)
{ //terminating page turning effect... (comlplete turning... dropped on the other side)
if(flipOK || tear)
x = (ox += (-sx-ox)/(gflip? gs: es ));
y = (oy += (sy-oy)/(gflip? gs: es ));
calc(x,y);
if(x/-sx > 0.99 || tear) //we are done with turning, so stop all turning issue
flip = false;
flipOK = flipOff = false;
pages.pgrad._visible = pages.flip._visible = false;
//_quality = "BEST"; //if quality is decrased during turning effect, you must reset its default value
if(tear) //if tear: remove page
removePage((sx<0)? page: page+1);
page += (sx<0)? -2: 0;
else
page += (sx<0)? -2: 2; //and tourning pages at pagenumber level...
if(gskip) page = gtarget;
setPages(page,0,0,page+1);
tear = false;
if(gpage>0 && !gskip) //gotoflip active -> is there another flipping left?
gpage--;
autoflip();
startsnd(0); //sound
else gflip = gskip = false;
else //terminating page turning effect... (incomlplete turning... dropped on the dragged side)
x = (ox += (sx-ox)/3);
y = (oy += (sy-oy)/3);
calc(x,y);
if(x/sx > 0.99) //we are done with turning, so stop all turning issue
flip = false;
flipOff = false;
aflip = false;
pages.pgrad._visible = pages.flip._visible = false;
//_quality = "HIGH"; //if quality is decrased during turning effect, you must reset its default value
setPages(page,0,0,page+1); //no change at pagenumbers
function calc(x,y) //positioning pages and shadows by x,y reference points
if(hflip)
{ //hardflip
var xp = (sx<0)? -x: x;
if(xp>0)
sp2._visible = false;
sp3._visible = true;
scalc(sp3,x);
else
sp3._visible = false;
sp2._visible = true;
scalc(sp2,x);
pages.flip.setMask(null);
pages.flip._visible = true;
pages.flip.fgrad._visible = false;
pages.flip.p2._visible = pages.flip.p3._visible = false;
return;
} else pages.flip.fgrad._visible = true;
//normal flipping process
rr0 = Math.sqrt((y+ph/2)*(y+ph/2)+x*x);
rr1 = Math.sqrt((ph/2-y)*(ph/2-y)+x*x);
if((rr0>r0 || rr1>r1) && !tear)
{ // we can tear off pages now
// so reference points must be recalculated
if(y<sy)
var a = Math.asin((ph/2-y)/rr1);
y = (ph/2-Math.sin(a)*r1);
x = (x<0)? -Math.cos(a)*r1: Math.cos(a)*r1;
if(y>sy)
if((sx*x)>0) y = sy, x = sx;
else y = sy, x = -sx;
if((rr1-r1)>tlimit && ctear)
teard = -5;
tear = true;
tox = ox = x;
toy = oy = y;
else
var a = Math.asin((y+ph/2)/rr0);
y = Math.sin(a)*r0-ph/2;
x = (x<0)? -Math.cos(a)*r0: Math.cos(a)*r0;
if(y<sy)
if((sx*x)>0) y = sy, x = sx;
else y = sy, x = -sx;
if((rr0-r0)>tlimit && ctear)
teard = 5;
tear = true;
tox = ox = x;
toy = oy = y;
if((sx<0 && (x-sx)<10) || (sx>0 && (sx-x)<10))
if(sx<0) x = -pw+10;
if(sx>0) x = pw-10;
//calculating flipping process
pages.flip._visible = true;
pages.flip.p3shadow._visible = pages.pgrad._visible = !tear;
pages.flip.p2._visible = pages.flip.p3._visible = true;
//equation of the line
var vx = x-sx;
var vy = y-sy;
var a1 = vy/vx;
var a2 = -vy/vx;
cx = sx+(vx/2);
cy = sy+(vy/2);
//trigonometriai szamitasok
//calculating rotation of the page, and the masks
var r = Math.sqrt((sx-x)*(sx-x)+(sy-y)*(sy-y));
var a = Math.asin((sy-y)/r);
if(sx<0) a = -a;
ad = a/AM; //in degree
pageN._rotation = ad*2;
r = Math.sqrt((sx-x)*(sx-x)+(sy-y)*(sy-y));
rl = (pw*2);
if(sx>0)
{//flip forward
pages.mask._xscale = 100;
nx = cx-Math.tan(a)*(ph/2-cy);
ny = ph/2;
if(nx>pw)
nx = pw;
ny = cy+Math.tan(Math.PI/2+a)*(pw-cx);
pageN.pf._x = -(pw-nx);
pages.flip.fgrad._xscale = (r/rl/2)*pw;
pages.pgrad._xscale = -(r/rl/2)*pw;
pages.flip.p3shadow._xscale = (r/rl/2)*pw;
else //flip backward
pages.mask._xscale = -100;
nx = cx-Math.tan(a)*(ph/2-cy);
ny = ph/2;
if(nx<-pw)
nx = -pw;
ny = cy+Math.tan(Math.PI/2+a)*(-pw-cx);
pageN.pf._x = -(pw-(pw+nx));
pages.flip.fgrad._xscale = -(r/rl/2)*pw;
pages.pgrad._xscale = (r/rl/2)*pw;
pages.flip.p3shadow._xscale = -(r/rl/2)*pw;
pages.mask._x = cx;
pages.mask._y = cy;
pages.mask._rotation = ad;
pageN.pf._y = -ny;
pageN._x = nx+offs;
pageN._y = ny;
pages.flip.fgrad._x = cx;
pages.flip.fgrad._y = cy;
pages.flip.fgrad._rotation = ad;
pages.flip.fgrad._alpha = (r>(rl-50))? 100-(r-(rl-50))*2: 100;
pages.flip.p3shadow._x = cx;
pages.flip.p3shadow._y = cy;
pages.flip.p3shadow._rotation = ad;
pages.flip.p3shadow._alpha = (r>(rl-50))? 100-(r-(rl-50))*2: 100;
pages.pgrad._x = cx;
pages.pgrad._y = cy;
pages.pgrad._rotation = ad+180;
pages.pgrad._alpha = (r>(rl-100))? 100-(r-(rl-100)): 100;
pages.flip.fmask.page._x = pageN._x;
pages.flip.fmask.page._y = pageN._y;
pages.flip.fmask.page.pf._x = pageN.pf._x;
pages.flip.fmask.page.pf._y = pageN.pf._y;
pages.flip.fmask.page._rotation = pageN._rotation;
function scalc(obj,x) //hardflip calc
if(x<-pw) x=-pw;
if(x>pw) x=pw;
var a = Math.asin( x/pw );
var rot = a/AM/2;
var xs = 100;
var ss = 100*Math.sin( rotz*AM );
x = x/2;
var y = Math.cos(a)*(pw/2)*(ss/100);
placeImg(obj, rot, ss, x, y)
pages.pgrad._visible = pages.flip._visible = true;
pages.pgrad._xscale = x;
pages.pgrad._alpha = pages.flip.p3shadow._alpha = 100;
pages.flip.p3shadow._xscale = -x;
pages.flip.p3shadow._x = 0;
pages.flip.p3shadow._y = 0;
pages.flip.p3shadow._rotation = 0;
pages.pgrad._x = 0;
pages.pgrad._y = 0;
pages.pgrad._rotation = 0;
function placeImg(j, rot, ss, x, y)
var m = Math.tan( rot*AM );
var f = Math.SQRT2/Math.sqrt(m*m+1);
var phxs = 100*m;
var phRot = -rot;
var xs = 100*f;
var ys = 100*f;
j.ph.pic._rotation = 45;
j.ph.pic._xscale = (phxs<0)? - xs: xs;
j.ph.pic._yscale = ys*(100/ss);
j.ph._rotation = phRot;
j.ph._xscale = phxs;
j._yscale = ss;
j._x = x;
j._y = y;
j._visible = true;
function setPages(p1,p2,p3,p4)
//attach the right page "image" at the right place
p0 = p1-2; //pages for transparency...
p5 = p4+2;
if(p0<0) p0=0;
if(p5>maxpage) p5=0;
if(p1<0) p1=0; //visible pages
if(p2<0) p2=0;
if(p3<0) p3=0;
if(p4<0) p4=0;
globalP1= p1;
globalP2= p2;
globalP3= p3;
globalP4= p4;
if(checkPageLoaded[globalP1-1] == false && checkPageLoaded[globalP4-1] == false)
trace("Preloader 3");
checkPageLoaded[globalP1-1]= true;
checkPageLoaded[globalP4-1]= true;
var cCounterTwo:Number= globalP1- (canPreLoadNumber+ 1);
var cTwoPerPage:Number= cCounterTwo+ 2;
cCountPage(cCounterTwo, cTwoPerPage, globalP1, globalP4);
pages.p1.page.pf.ph.pic._x = -(p1-1)*pw;
pages.p1.page.pf.ph._y = -ph/2;
if(hflip) //hardflip pages are specials!!!
pages.flip.hfliph.sp2._visible = true;
pages.flip.hfliph.sp3._visible = true;
sp2 = eval("pages.flip.hfliph.sp2");
sp2.ph.pic.pic._x = -(p2-1)*pw - pw/2;
sp3 = eval("pages.flip.hfliph.sp3");
sp3.ph.pic.pic._x = -(p3-1)*pw - pw/2;
else
pages.flip.hfliph.sp2._visible = false;
pages.flip.hfliph.sp3._visible = false;
sp2 = eval("pages.flip.p2.page.pf.ph.pic");
pages.flip.p2.page.pf.ph.pic._x = -(p2-1)*pw;
pages.flip.p2.page.pf.ph._y = -ph/2;
sp3 = eval("pages.flip.p3.page.pf.ph.pic");
pages.flip.p3.page.pf.ph.pic._x = -(p3-1)*pw;
pages.flip.p3.page.pf.ph._y = -ph/2;
pages.p4.page.pf.ph.pic._x = -(p4-1)*pw;
pages.p4.page.pf.ph._y = -ph/2;
soundDuration = containerArray[page+1].voice.duration/1000;
checkPage(p4,p2,p3,containerArray[arrayCounter].voice,buttonName,dotName,txtName);
transcript_mc.removeMovieClip();
function resetPages()
setPages(page,0,0,page+1);
function autoflip()
{ //start auto flip!
if(!aflip && !flip && !flipOff && canflip)
{ //only when all conditions fits our needs
acnt = 0
var pmh = ph/2;
aamp = Math.random()*pmh-(ph/4);
var x= gflip? (gdir*pw)/2: ((pages._xmouse<0)? -pw/2: pw/2);
var y= pages._ymouse;
if(y>0 && y>pmh) y = pmh;
if(y<0 && y<-pmh) y = - pmh;
oy = sy = y;
ax = (pages._xmouse<0)? -pmh: pmh;
ay = y*Math.random(); //page turnig style randomizing
offs = -pw;
var hit = 0;
if(x<0 && page>0)
pages.flip.p3._x = 0;
hflip = (hcover && gskip)? (page==maxpage || gtarget==0): checkCover(page,-1);
ctear = pageCanTear[page];
if(!(preflip && hflip)) {
if(gskip) setPages(gtarget,gtarget+1,page,page+1);
else setPages(page-2,page-1,page,page+1);
hit = -1;
if(x>0 && page<maxpage)
pages.flip.p3._x = pw;
hflip = (hcover && gskip)? (page==0 || gtarget==maxpage): checkCover(page,1);
ctear = pageCanTear[page+1];
if(!(preflip && hflip))
if(gskip) setPages(page,gtarget,page+1,gtarget+1);
else setPages(page,page+2,page+1,page+3);
hit = 1;
if(hflip && preflip)
hit = 0;
preflip = false;
return false;
if(hit)
anim._visible = false;
flip = true;
flipOff = false;
ox = sx = hit*pw;
pages.flip.setMask(pages.mask);
aadd = hit*(pw/(gflip? 5:10 )); //autoflip takes 10 frames to be done!!!
aflip = true;
pages.flip.fmask._x = pw;
if(preflip)
oy = sy = (pages._ymouse<0)? -(ph/2): (ph/2);
r0 = Math.sqrt((sy+ph/2)*(sy+ph/2)+pw*pw);
r1 = Math.sqrt((ph/2-sy)*(ph/2-sy)+pw*pw);
pageN = eval("pages.flip.p2.page");
pageO = eval("pages.flip.p3");
oef();
return true;
} else return false;
function getm()
{ //get x,y reference points depending of turning style: manual/auto
if(aflip && !preflip)
x = ax;
y = ay;
else
x = pages._xmouse;
y = pages._ymouse;
function getPN(i)
{//get the right page number
if(i==0) return 0;
var find = false;
for(j=1;j<=maxpage;j++)
if(i==pageNumber[j])
i=j;
find = true;
break;
if(find) return i;
else return -1;
function removePage(i)
i = (Math.floor((i-1)/2)*2)+1;
removedPages.push(pageNumber[i], pageNumber[i+1]);
for(j=(i+2);j<=(maxpage+1);j++)
pageOrder[j-2]=pageOrder[j];
pageCanTear[j-2]=pageCanTear[j];
pageNumber[j-2]=pageNumber[j];
maxpage -= 2;Do you mean it's firing when you click Edit?. I've replicated your code as below and it worked, try to remove the OnRowCommand run a build and then add the it again:
protected void Page_Load(object sender, EventArgs e)
BindGridwithDummy();
protected void GridMainCat_RowCommand(object sender, GridViewCommandEventArgs e)
string catID = e.CommandArgument.ToString();
if (e.CommandName == "Edt" && e.CommandArgument != null)
if (e.CommandName == "Dlt")
private void BindGridwithDummy()
DataTable dt = new DataTable();
DataRow dr;
dt.Columns.Add(new System.Data.DataColumn("Test", typeof(String)));
dr = dt.NewRow();
dr[0] = "A dummy Data"; //Adds the Dummy Data in the Row
dt.Rows.Add(dr);
// Show the DataTable values in the GridView
GridView1.DataSource = dt;
GridView1.DataBind();
<asp:GridView ID="GridView1" runat="server" OnRowCommand="GridMainCat_RowCommand">
<Columns>
<asp:BoundField DataField="Test" />
<asp:TemplateField>
<HeaderTemplate>
Button</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton Style="padding: 4px;" ID="lnkDel" CommandName="Dlt" runat="server"
CausesValidation="false" Text="Delete" CommandArgument="1" OnClientClick="javascript:return('Are you sure, do you want to delete Record??')"></asp:LinkButton><br />
<asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" CausesValidation="false"
CommandName="Edt" CommandArgument="2" Style="padding: 4px;"></asp:LinkButton>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView> -
Placement of objects on html page change when loaded to server
I'm having an issue with the placement of my header on my "Gallery" page when it is uploaded to the server. When I open the file in Firefox and Safari it opens normal, with the header on top and the images for each gallery below (I have yet to add links). However when I access this page through the server in safari it flips the gallery images and header but NOT with Firefox. As a note, I've played around with the css a bit trying to solve the problem and I could imitate the issue when I removed the absolute position from the div "gallerycontent".
Here's the link
http://frozentimephotos.com/english/gallery.html
Thanks,
GiuseppeMost browser rendering issues are code related. Validate your code with the tools below and fix reported errors.
Code Validation Tools
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
HINT: You have 2 sets of <body> tags in your markup. In code view, remove this from line 12:
<body bgcolor="#000">
And remove this from line 37:
</body>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
SWF background color changes when uploaded to server
I built my Flash all pretty, based upon a black background.
When ran on the local copy, the black shows up as black & the
Flash is like it should be. However, as soon as I upload it to the
server and run it from there, the Flash background changes to
white, which as you can imagine, royally screws up the visuals. Any
clue as to why it would do this?! I can't think of any reason why
it should. The server is in-house and will only be used for an
Intranet page, so any possible corruption over the web should be
negated. Help!!I'd like to post a link, but like I said, it's only internal.
When I look at the HTML, it's set to black (background-color:
#000000). Also, when I load it, the page itself is black, but the
background of the Flash *only* has turned white. I can load the
exact same page on my local drive and it comes up black. I've got
publish settings to Flash 8 (my version) and AS 2.0. I checked that
first because I've published lower in the past and had
issues. -
Java.lang.NoClassDefFoundError when uploading to server
Hello,
I have a website using servlets and jsp's. When I run the site locally with Tomcat and Apache, everything works fine. But once my classes and jsp's have been uploaded to the server (also with Tomcat and Apache), I get the following error message:
java.lang.NoClassDefFoundError: task/TaskEmployee
I know that this means that it cannot find the class, but I have done everything to make sure that this class is found: checked the path and package, recompiled with 2 different programs and uploaded it again, checked spelling and case...
Important to know is that the problem arrose when I uploaded a new version of the class file that contained some extra methods. (directory and name remained the same) Other class files with added methods kept on working after I uploaded their new versions.
Locally we use a windows environment, but the deployment server is a Unix server.
What could be the problem? Has anyone had this problem before? If so, please let me know!
Thanks.after uploading restart tomcat
-
Query slideshow, not working when uploaded to server
Site uploade to domain: http://www.menterderm.com -----doesn't work
Site uploaded to my student server: http://www.tammy4u2.aisites.com/mdri/index.html ----works well
I'm using jquery slidshow on my site.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.cycle.all.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#slideshow').cycle();
}); //end document ready
</script>
It works great in Dreamweaver and it even works great when I upload it to my student server. But when I went to upload it to the domain (on Godaddy's server), it's not working.
I do have alot of issues when I try to upload a file using Dreamweaver....it get's so frustrating. I'm also using Cyberduck to upload files as I seem to be more successful than using Dreamweaver but for whatever reason I wasn't able to connect to godaddy using Cyberduck so I had to upload using Dreamweaver (this could be related to my problem).
Does anyone suggest a better way to upload using FTP?
Any help or advice would be so appreciated.Change the single quotes to double quotes:
wrong way:
<div id='slideshow'>
right way:
<div id="slideshow">
Optimize your images for the web so they'll load faster.
Validate code and fix reported errors.
CSS - http://jigsaw.w3.org/css-validator/
HTML - http://validator.w3.org/
Nancy O. -
Error message when uploading: my server does not support byte-range requests
Hi I am trying to get a pocast up on itunes - I am first just sending a test mp3 - ebenezer.bruceclark.eu/podcast.xml. I have validated the xml keeping it to a minimum and constantly get the message saying my server does not support byte-range requests. Once I got some meassage about "White spaces are required between publicId and systemId". It all seems so random I am using Drupal 7 cms with views_rss module + itunes elements. It's been my 3rd night into the early morning and I need to sort this out for my client.
Thanks to anyone who can help
BruceYour feed does not contain an 'enclosure tag' which would contain the URL of your mp3 file, so at the moment it basically has no content and would be of no use to iTunes. You may find it helpful to read this page which gives you basic information on making a podcast:
http://rfwilmut.net/pc
Note that when you do get it working and submitting, the iTunes Store won't accept a podcast which is merely a technical test: they need to see at least one proper episode so that they can check that your podcast does not contain unsuitable material. -
Flash does not appear on site when uploaded to server
I have created a Flash slide show and inserted it into
Dereamweaver, I can test it to a browser and everything is
beautiful BUT when I upload the Dreamweaver file to the server the
area where the Flash was is blank - nothing is there. Any ideas as
to why?Good grief.
Just search this forum for subjects containing "Flash" -
you'll find
hundreds of answers posted just this week!
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Pintliano" <[email protected]> wrote in
message
news:g13rme$52$[email protected]..
>I have created a Flash slide show and inserted it into
Dereamweaver, I can
>test
> it to a browser and everything is beautiful BUT when I
upload the
> Dreamweaver
> file to the server the area where the Flash was is blank
- nothing is
> there.
> Any ideas as to why?
> -
Header tags disappear - do not display when uploaded to server
I have a website that contains H3 tags will not display. Does anyone know what would cause the tags not to work?
<div class="services_icon1"></div>
<h3>Initial Evaluation</h3>
<p>
This is considered our initial meeting with you, to brainstorm and review website design, functionality, budget and timing objectives. We prefer face-to-face, but we can also accomplish the same tasks through email, web conferencing and telephone.
</p>
<h3>Design and Build</h3>
<hr /> <p>Our website designers begin coding individual pages, functionality is programmed, and site copy content is written and added, completing the design phase. </p>
<hr />Validate your page here:
http://validator.w3.org/
number of errors including :
Line 158, Column 12: document type does not allow element "h3" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag
<h3> Key Features</h3>
✉
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>").
even though the current page does display the <h3> tag... validator doesn't like it
Adninjastrator -
Loss of formatting when exporting to EPUB
Hi All,
I am working on a premium ebook with audio files and graphics. There are 32 chapters plus Intro, and each has an associated mp3. File size is 132 MB without pictures. Everything is fine until I start to add pictures; after adding several pictures, the exported EPUB loses the Centered attribute on random paragraphs, and some of the pictures start to disappear, although everything looks fine in the Pages file itself. Exporting PDF is fine. I'm going to try reducing the file sizes of the pictures; any other suggestions from the user community?David Bruce Hughes wrote:
Thanks for your replies. Upon further investigation, actually Pages is producing good code and it displays properly in various ebook readers, but not under iOS. *So this is not a Pages issue at all.*
Good to hear!! -
Why won't CSS changes save - Are Reflected Locally, but not there when uploaded.
I have recently re-installed Dreamweaver CC 2014.1.1. I am editing an existing site http://www.travelight.tv/test.html. CSS changes won't save (i.e ".righthalf" and <strong> and H3.) I finally replaced the class with a table for the sake of time. Still can't save <strong> and H3 changes. CSS Designer Panel correctly shows the H3 font and the hex color (ee5e33) - but the color palate shows black. The uploaded document reflects gray. The changes are reflected properly locally, but not when uploaded to server. The time/date stamp doesn't update, despite saving several times. What am I missing?
Sorry about that, I managed to get the test URL wrong. http://www.travelight.tv/test/index.html. I had to remove the righthalf class from the document, but the <strong> and <h3> tags are still having issues.As for the location, I am opening the one that is linked to the document from the bar at the top of the document - it is the only one named travelight.css. When I logged in this morning, I noticed that it is showing the icon as a Wordpad document even though the File Type shows it as a Cascading Style Sheet - I have tried saving it as an html file and have re-created it, but it remains a Wordpad document. Below is the a screen shot of the folder.
Maybe you are looking for
-
Exporting: iPhoto won't show all edits and modifications when exporting
Hi there, A problem recently cropped up in my iPhoto album. I'm using at 12" PowerBook G4, 1.5GHz, 250GB HD / 1.25GB RAM / OS 10.5.6 / iPhoto 8.0.2 (iPhoto '09). My iPhoto library contains 29,654 photos and 333 movies in 474 events and measures 119.2
-
How Do I find what my operating system is in my computer?
I bought a MacBook Pro in June 1010, how do I find out what version of snow leopard I have?
-
Problems with CC AP not recognising previously downloaded aps
Hi, I downloaded the CC ap today - or rather, it downloaded itself and overwrote the application manager. It does not recognise my previously downloaded CS6 aps. It initially listed them under "your aps", but once I downloaded lightroom 5, it redu
-
AirPlay icon for Apple TV on iPad Keeps Disappearing
Please help! Since updating to IOS8 the AirPlay icon on my two iPads (Air & new mini) keeps disappearing. I keep rebooting the WIFi router and the AirPlay system works for a minute or ten and then just disappears. The WiFi signal is strong and the ph
-
Report standard SAP into BSP page
I want know how I can read the output of a standard report SAP R/3 into a BSP page ( WAS 6.20 ).