Results 1 to 2 of 2

Thread: lIL Help With your style switcher.

  1. #1
    Join Date
    May 2008
    Location
    ny
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation lIL Help With your style switcher.

    1) Script Title:CSS style sheet .

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...etswitcher.htm

    3) Describe problem: I'm having about 3 needless problems with this script.

    a] when using Iframes , the script's css wont respond to the iframes page in fact the page turnes out unstyled.

    b] I would like to create a text/image/other link on another site that responds to this script by accessing another theme on my site when clicked .


    c] The script keeps calling previous div settingings (image postions etc.). When I switch to the next sheet unless my image div sits in the exact same place as the 1st. one.


    (ex.
    Code:
    HTML<div id="image"></div>
    
    Css1#IMAGE {
        display: block;
        width: 980px;
        height: 700px;
        background-image: url(981083_23841581222.jpg);
        background-position:%100;
    	  margin:  auto;
    		background-repeat: repeat-N;
    		
    		}
    
    
    
    Css2
    
    #IMAGE {
        filter:alpha(opacity=50);
    -moz-opacity:.30;
    opacity:.30;
    		top: 0px;
        left: 500px;
        width: 600px;
        height: 700px;
        background-image: url(2.jpg);
        background-position:0px;
    	  margin:auto;
    		background-repeat:N;
    		}

    Help A.S.A.P.
    Ablige

    Nyshalynn

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    #1)
    Why are you using frames? Also, style doesn't affect the frames, you'd have to have the same thing inside the frame, or have the link targeting the frame to change the page. There's no way to change the frame style. Also if you can use PHP, you can use file_get_contents, instead of an iframe, and that'd change the frame.
    #2)
    You want the link to open in a new window/same window, then when that page loads, the style will be whatever you clicked on the previous site?
    #3)
    Can't help you with that.

    Hope this Helps,
    Nile
    Jeremy | jfein.net

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •