Board index PBase HTML and Style Sheets i lost my root page-how do i set it back up?

HTML and Style Sheets

i lost my root page-how do i set it back up?

Customize your galleries.
havaya_yehudit
 
Posts: 7

i lost my root page-how do i set it back up?

Post Sun Nov 09, 2008 3:57 pm


my English is not very good, i hope i will be able to express myself...

in the past, some gay explain how to create a slid sow and add nice texts (based on HTML i think) on the root page like this (for example)

http://www.pbase.com/shualy/root

from some reason pbase chanced the orders of the system and the slid sow stopped to work.

i have notes that some people funded a new way to renew it by giving a deferent orders that pbase do support- (like this gay above) .

i tried to do some chances and now i lost my root page!

i can get to the rest of the pages but not to the root....

the last time it's worked i hade all this orders inside the root page(i now it's look like a mess - i was trying deferent ways to get the slid show to work):


<SCRIPT language="JavaScript">
<!--

functions:
//Blending subroutine for pbase home page (C) Luis Borruel 2006
//www.cryer.co.uk © 2004 and http://www.brainerror.net ver 1.3 © June 7,2004
//were reference for the following Javascript slide show code

function changeOpac(opacity, id)
{
var object = document.getElementById(id).style;
object.opacity = (opacity / 100);
object.MozOpacity = (opacity / 101);
object.KhtmlOpacity = (opacity / 100);
object.filter = "alpha(opacity=" + opacity + ")";
}


var slideCache = new Array();

//the files to be shown
var imageFiles= "http://www.pbase.com/havaya_yehudit/image/80852330.jpg;"+
"http://www.pbase.com/havaya_yehudit/image/80852334.jpg;"+
"http://www.pbase.com/havaya_yehudit/image/80852339.jpg;"+
"http://www.pbase.com/havaya_yehudit/image/80852335.jpg;"+
"http://www.pbase.com/havaya_yehudit/image/80852337.jpg;"+
"http://www.pbase.com/havaya_yehudit/image/80852333.jpg;"+
"http://www.pbase.com/havaya_yehudit/image/80852331.jpg;"+
"http://www.pbase.com/havaya_yehudit/image/80852336.jpg";


function blendimage(divid, imageid)
{
var transition_msecs = 1000; //fading time
var timer = 0;
var displaySecs = 5; //seconds for each picture
var speed = Math.round(transition_msecs / 100);


var imageSeparator = imageFiles.indexOf(";");
var nextImage = imageFiles.substring(0,imageSeparator);

//make image transparent
changeOpac(0, imageid);

//make new image
document.getElementById(imageid).src = nextImage;

//fade in image
for(i = 30; i <= 100; i+=5)
{
setTimeout("changeOpac(" + Math.round(Math.pow(i,2)*0.01) + ",'" + imageid + "')",(speed*timer));
timer+=5;
}

//fade out image
for(i = 100; i >= 0; i-=5)
{
setTimeout("changeOpac(" + Math.round(Math.pow(i,2)*0.01) + ",'" + imageid + "')",(speed*timer)+displaySecs*1000);
timer+=5;
}

//prepare next image
var futureImages= imageFiles.substring(imageSeparator+1,imageFiles.l ength)+ ';' + nextImage;
imageFiles = futureImages;
setTimeout("blendimage(:
_____________________________________________________________________________________________________

i can get to my root page but i do not now how to set it back up ?
what orders do i have to fill in to set it back up?

rollosphotos
 
Posts: 103

Re: i lost my root page-how do i set it back up?

Post Sun Nov 09, 2008 11:38 pm


/
Last edited by rollosphotos on Wed Jul 21, 2010 11:19 am, edited 1 time in total.

havaya_yehudit
 
Posts: 7

Re: i lost my root page-how do i set it back up?

Post Mon Nov 10, 2008 6:25 am


tenx for helpeing me!

i copy and past the text you wrot, and this is the what i got

http://www.pbase.com/havaya_yehudit

1) way the menu on top dot not show - havaya_yehudit | profile | guestbook | edit root gallery | recent ?
only if i press the reset hit count i can get to see the menu on top + if i log out i don't see the opsion to log in on the main page only!?

2) way do i see "TABLE { BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN-TOP: -27px; MARGIN-BOTTOM: 7px; FONT: 12px verdana, arial, sans-serif; BORDER-LEFT: 0px; COLOR: rgb(91,91,101); BORDER-BOTTOM: 0px DISPLAY: inline;" insted?

rollosphotos
 
Posts: 103

Re: i lost my root page-how do i set it back up?

Post Mon Nov 10, 2008 2:16 pm


/
Last edited by rollosphotos on Wed Jul 21, 2010 11:18 am, edited 1 time in total.

havaya_yehudit
 
Posts: 7

Re: i lost my root page-how do i set it back up?

Post Mon Nov 10, 2008 4:51 pm


rollosphotos wrote:1. Edit your root gallery.
2. Remove the code from "description" (it does not belong there)
3. Scroll down to "style sheet"
4. Edit style sheet (the one you use for root gallery)
5. Find this section of code TABLE {
BORDER-RIGHT: 0px; BORDER-TOP: 0px; MARGIN-TOP: -27px; MARGIN-BOTTOM: 7px;
FONT: 12px verdana, arial, sans-serif; BORDER-LEFT: 0px;
COLOR: rgb(91,91,101); BORDER-BOTTOM: 0px
}
6. Replace this section of code with the code I gave you.


it's worked :o
http://www.pbase.com/havaya_yehudit/root&cmd=reset_hit_count

one mor thing befor i try to go for the slid show :arrow: how do i get the back the bluo tin scuwer arond all the pictuers?
like haer http://www.pbase.com/shualy/root
what can i do to make all the sab fiils look the same as the look of the root page?


Board index PBase HTML and Style Sheets i lost my root page-how do i set it back up?

Who is online

Users browsing this forum: No registered users and 2 guests

cron