Results 1 to 7 of 7

Thread: php photo album

  1. #1
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default php photo album

    hi
    im using the php photo album and it works great!
    http://www.dynamicdrive.com/dynamici...photoalbum.htm
    but i can not get the links that lead to next photo batch to work...

    i mean it shows page1, page2, page3 etc but it doesnt indicates what page im in...

    i change the css, where the a.current to font-weight: bold;

    but it doesnt take any effect..

    have you got any idea how should i make this? i mean, to indicates what page im on...

    thank you

    Yaniv

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thanks for your replay!
    here you go:

    http://www.magendo.net/spgm/gal/ring/no_stone/

    and here is the css: (i put it in a css file)

    .slideshow{ /*CSS for DIV containing each image*/
    float: left;
    margin-right: 0px;
    margin-bottom: 5px;
    margin-left: 13px;
    }

    .slideshow img{ /*CSS for each image tag*/
    border: 1px solid #781351;
    width: 70px;
    height: 46px;
    }

    #navlinks{ /*CSS for DIV containing the navigational links*/
    width: 400px;
    float: left;
    direction: rtl;
    }

    #navlinks a{ /*CSS for each navigational link*/
    margin-right: 8px;
    margin-bottom: 3px;
    margin-top: 0px;
    padding-top: 0px;
    font-size: 110%;
    }

    #navlinks a:visited{ /*CSS for currently selected navigational link*/

    color: #fa894d;
    text-decoration: none;
    font-family: arial;
    font-size: 14px;
    font-weight: normal;
    }

    #navlinks a.current{ /*CSS for currently selected navigational link*/

    color: #fa894d;
    text-decoration: none;
    font-family: arial;
    font-size: 16px;
    font-weight: bold;
    }

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It actually works in the Opera browser, although the rest of your page looks a mess in it. IE is much more prone toward letting styles assigned to other a tags by other selectors affect each other. It generally is inclusive and in a mood to generalize, rather than exclusive and in a mood to be specific, when assigning these styles. The .current pseudo classes may need to be defined to distinguish them from other a tag pseudo classes in your stylesheet:

    Code:
    #navlinks a.current, #navlinks a.current:link, #navlinks a.current:active, #navlinks a.current:visited, #navlinks a.current:hover { /*CSS for currently selected navigational link*/
    
    color: #fa894d;
    text-decoration: none;
    font-family: arial;
    font-size: 16px;
    font-weight: bold;
    }
    If that doesn't take care of it, you have so many other styles on the page that have an affect upon the a tag under various circumstances. One or more of those is in conflict in IE. It would be a trial and error matter at that point, removing all other selectors with a in them, one at a time, until the culprit is found, and then finding a way around the conflict.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    it works man, thank you very much!!!

    what do you mean my page looks a mess?

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by yaniv View Post
    it works man, thank you very much!!!
    Happy to be of assistance.

    what do you mean my page looks a mess?
    In the Opera browser. It never hurts to test your page in Opera and/or FireFox in addition to IE, both of these (Opera and FF) looked pretty poor. Here is a 50% size compressed Opera screenshot (click the below thumbnail to view it):

    Attachment 1165
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  7. #7
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    it is a mess....

    what do you suggest form me to do to fix it?

    thank you again

    Yaniv

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
  •