If you are seeing this message, it is possible the page did not load properly. Please hit reload/refresh on your browser.
If you still see this message, you probably do not have a browser that supports web standards, although its content is accessible to any browser or Internet device.

Cool Tips & Tricks Cool Tips & Tricks

Help Communities:
Help Forums Bug Base
<< Prev Topic | Next Topic >>
Cool Tips & Tricks ::: CSS ::: HELP ME !! losing my hair...(switching style)
Page 1 2 3 New Topic    Add Reply
Topic: HELP ME !! losing my hair...(switching style)  (?)  Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend
Gaucho Don

Registered User
ezSupporter
Posts: 366
Posted: 9/9/04 12:14 pm    
Re: HELP ME !! losing my hair...(switching style)
So where is this switching feature from? I'm trying to see the components, but it would be easier seeing how whoever created it intended it to be used.

please provide a link if possible :)


  reply to this message

le critikeur

Registered User
Posts: 13
Posted: 9/9/04 12:58 pm    
Re: HELP ME !! losing my hair...(switching style)
Quote:
So where is this switching feature from?



what switching feature? I don't understand what you mean? you mean the program which allows to switch? but it should not be included in the .css files , no?


Quote:
I'm trying to see the components, but it would be easier seeing how whoever created it intended it to be used.


it's Atlass who created it:
here is the link:

ezdesign.spayce.com/content.php?article.8


  reply to this message

WarShadows

Registered User
Posts: 308
Posted: 9/9/04 2:11 pm    
Re: HELP ME !! losing my hair...(switching style)
Make sure that you have the .js file uploaded, and that this:
 <script language="JavaScript" type="text/javascript" src="http://mywebsite.com/js/switcher.js"></script> 

has been edited to the actual address of where you uploaded that file to, and that you have placed that section of code after the links, perhaps in your Custom footer, to be safe.
Personally, I think it would also be best if you'd slow down to spend some time tinkering with CSS, and installing a few scripts; I get the impression that you're trying to do way too much in a single step!


  reply to this message

le critikeur

Registered User
Posts: 15
Posted: 9/9/04 2:28 pm    
Re: HELP ME !! losing my hair...(switching style)
thank you for answering

actually the switcher device is uploaded already at my place:

mapage.noos.fr/trialexandre/switcher.js

what do you mean by saying "has been edited"?? i though we should not touch the .js file?

i'm gonna try to put at the footer section

can you tell me if my CSS files (defaut, options1, and options2) are correct?


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 13652
Posted: 9/9/04 2:47 pm    
Re: HELP ME !! losing my hair...(switching style)
The blue section should have been 'edited' so that the URL points to your hosted .js file.

e.g.
  <script language="JavaScript" type="text/javascript" src="http://mapage.noos.fr/trialexandre/switcher.js"></script> 


  reply to this message

Aragrothien

Registered User
ezSupporter
Posts: 341
Posted: 9/9/04 2:51 pm    
Re: HELP ME !! losing my hair...(switching style)
He means to replace the URL with your copy of the script is hosted into where he put the bule text


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 13653
Posted: 9/9/04 2:52 pm    
Re: HELP ME !! losing my hair...(switching style)
No, you do not edit the .js file, just make sure the script code has the correct url to your .js file as I mention above.

And your css files look okay to me :)


  reply to this message

le critikeur

Registered User
Posts: 17
Posted: 9/9/04 2:58 pm    
Re: HELP ME !! losing my hair...(switching style)
well i re-uploaded it to be sure, and it is not working.

That is why I don't understand ...

it's weird.

Especially if the css files look good.

I don't understand...

please help me... i really want to have tha switching device working!!!!!!!!!
so excited and so frustrated at the same time

the link tags , i put them at the very beginning of the box 1

the .js file at the very end of the box 1

in between I have the style tags with everything of the defaut css in between, I mean, you know, the generic .css you posted (nutrocker), i still have it in between style tags

do you think that is the reason??? maybe I should take it off?


  reply to this message

le critikeur

Registered User
Posts: 18
Posted: 9/9/04 3:01 pm    
Re: HELP ME !! losing my hair...(switching style)
i just tried to take what was in between the style tags to see if something changes and no it's not working , it's even worse.

so i put it back.

my forum:

p074.ezboard.com/blfiag


  reply to this message

Gaucho Don

Registered User
ezSupporter
Posts: 366
Posted: 9/9/04 3:21 pm    
Re: HELP ME !! losing my hair...(switching style)
This could be the root of the problem:

in your links above you link to:

mapage.noos.fr/trialexandre/defaut.css
mapage.noos.fr/trialexandre/options1.css
and
mapage.noos.fr/trialexandre/options2.css


But, your board links to:

mapage.noos.fr/trialexand...defaut.css
mapage.noos.fr/trialexand...tions1.css
mapage.noos.fr/trialexand...ptions.css

EDIT: since it hid the important part
 
mapage.noos.fr/trialexandre/css/options2.css


which I don't think there are actually files there... You either need to move the files or change the link to point to where the files actually are... make sure that you are linking to the actual files... report back please :)

Edited by: Gaucho Don at: 9/9/04 3:25 pm

  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 13659
Posted: 9/9/04 3:26 pm    
Re: HELP ME !! losing my hair...(switching style)
1. You don't need any CSS in the 1st text box within your custom html because it is now supposed to be in the default.css (I think!)

2. You should have in the custom html, 1st text box
3 link tags pointing to the css files
1 link tag pointing to the switcher.js file (straight after the css link tags!)

3.

Quote:
And lastly, place some code to allow your user to make their choice - you can put this on a single page if you'd prefer it to not be repeated on every page.

   <a href="#" onclick=setActiveStyleSheet('default'); return false; title="plain">plain</a> | 
<a href="#" onclick=setActiveStyleSheet('option1'); return false; title="corporate">coporate</a> | 
<a href="#" onclick=setActiveStyleSheet('option2'); return false; title="lovey">casual</a>


The link tags and javascript must be present on all pages that you want to use the styles, however.



See Gaucho Don's input also :)

Edited by: Nutrocker at: 9/9/04 3:42 pm

  reply to this message

Gaucho Don

Registered User
ezSupporter
Posts: 367
Posted: 9/9/04 3:35 pm    
Re: HELP ME !! losing my hair...(switching style)
I tested a local copy with the address change (lose the /css from the middle of the url) and it worked (at least the background changed). So, hopefully it works when you make the same change on your board :)


  reply to this message

le critikeur

Registered User
Posts: 19
Posted: 9/9/04 3:44 pm    
Re: HELP ME !! losing my hair...(switching style)
To NUTROCKER>:


Quote:
1. You don't need any CSS in the 1st text box within your custom html because it is now supposed to be in the default.css


Well, I've tried to take it off and if I take it off, my forum looks like nothing meaning, there is no border, no colour, and no images anymore. ???????

2. You should have in the custom html, 1st text box
Quote:
3 link tags pointing to the css files
1 link tag pointing to the switcher.js file (straight after the css link tags!)


I have :
- 3 link tags pointing to the css files
- a script in java for the "who's online box"
- a script (or CSS??) for the drop down menus
- the CSS file in between style tags
- 1 link tag pointing to the .js file (straight after the link tags)

Quote:
And lastly, place some code to allow your user to make their choice - you can put this on a single page if you'd prefer it to not be repeated on every page.


yes it's posted too, they are the button A, B and C on my right side bar!!!!

I think something's wrong with my css.

to GAUCHON DON and NUTROCKER

I'm making some progress.
Yes Gauchau Don, u were right, I made a mistake in the link putting a /css/ in surplus.
I took it off and now IT IS WORKING but NOT EVRYTHING!!

If you click on the button A, B or C, what changes is only the background but the side bar (colors, pictures + font face + font size etc...) do not change

What is the problem in the CSS file????



  reply to this message

le critikeur

Registered User
Posts: 20
Posted: 9/9/04 3:45 pm    
Re: HELP ME !! losing my hair...(switching style)
yes only the background changes!!

so it means that it works but still there must be something wrong with the css file ????

because all the parts in the CSS after the background thing do not work??????


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 13661
Posted: 9/9/04 3:50 pm    
Re: HELP ME !! losing my hair...(switching style)
What exactly should change when the alternate options are chosen?

I don't see that much difference in the css files/coding.


  reply to this message

le critikeur

Registered User
Posts: 21
Posted: 9/9/04 3:58 pm    
Re: HELP ME !! losing my hair...(switching style)
the background of the sidebars (titles and headers parts) will have different design ,

the font which should be "comic sans ms" and "georgia" instead of "verdana"

the colours of the scrolling sections at the righside bar

the background colors etc...


  reply to this message

le critikeur

Registered User
Posts: 22
Posted: 9/9/04 3:59 pm    
Re: HELP ME !! losing my hair...(switching style)
this should appear


instead of this


just to show you one example


  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 13662
Posted: 9/9/04 4:14 pm    
Re: HELP ME !! losing my hair...(switching style)
I can get this to work only if I remove the CSS that is used for the sidebar in the custom html area, 1st text box.
Once I add that code again, the switcher fails to switch design fully.

I think the code in the custom html area is over riding the switcher code some how, I think this may be because the .css files and script are first, and then the seperate css code appears afterwards in the source code.

Try moving these lines of code, right at the end of the 1st text box within the custom html area.

 
<link rel="stylesheet" href="http://mapage.noos.fr/trialexandre/defaut.css" type="text/css" title="defaut">
<link rel="alternate stylesheet" href="http://mapage.noos.fr/trialexandre/options1.css" type="text/css" title="options1">
<link rel="alternate stylesheet" href="http://mapage.noos.fr/trialexandre/options2.css" type="text/css" title="options2">
<script language="JavaScript" type="text/javascript" src="http://mapage.noos.fr/trialexandre/switcher.js"></script>

Edited by: Nutrocker at: 9/9/04 4:15 pm

  reply to this message

Nutrocker

ezboard Moderator
ezSupporter
Posts: 13663
Posted: 9/9/04 4:17 pm    
Re: HELP ME !! losing my hair...(switching style)
The above worked for me with a local copy of the source code.
It does load the third css file/code as the initial design, but that is because it is the last css file to load.


  reply to this message

le critikeur

Registered User
Posts: 23
Posted: 9/9/04 4:18 pm    
Re: HELP ME !! losing my hair...(switching style)
OH MY GOD

YOU ARE BOTH DON & DON GENIUSES


YOU ARE SUPER!!!!


MERCI MILLE FOIS!! (thanks a thousand times!)

it works perfectly!!!


AHHHH


AT LAST


i am so happy!!!!!!!!!!!!!

thank you guys!!!

thank youuuuuuuuuuuuuuuuuuuuuu


  reply to this message

Click to receive email notification of replies Click to stop receiving email notification of replies email this topic to a friend

Page 1 2 3 New Topic    Add Reply

jump to:
Topic Control Image::: Topic Commands
<< Prev Topic | Next Topic >>

Icon Legend

reply button:::Reply to Post Button   edit button:::Edit Post Button  delete button:::Delete Post Button (Moderator Only)

subscribe/unsubscribe to thread button:::Subscribe to Thread Button   email to friend button:::Email to Friend Button  



- Cool Tips & Tricks - CSS -

Communitiesezboard Help Communities:

Help Forums Help Forums Bug Base Bug Base





Powered By ezboard® Ver. 7.32
Copyright ©1999-2007 ezboard, Inc.