Options

Badge - Disable clicks?

binaryericbinaryeric Registered Users Posts: 34 Big grins
edited May 7, 2010 in SmugMug Support
Is it possible to disable "clickability" on a badge that we create? I have created a badge to serve as a random image display - but these aren't images that I intend for anyone to within the SmugMug gallery. The gallery is unlisted, which keeps someone from navigating to them directly but if the click on a photo within the badge it launches the gallery URL with the photo.

Any attribute that I can add to the badge code to disable this functionality?

Thanks,
Eric

Comments

  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited December 24, 2009
    It's easy to remove the clickability from a badge. You'll have to share the HTML you are using for your badge (or the page link it's in) and we can then advise on how to change that HTML to remove clickability.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    binaryericbinaryeric Registered Users Posts: 34 Big grins
    edited December 24, 2009
    jfriend wrote:
    It's easy to remove the clickability from a badge. You'll have to share the HTML you are using for your badge (or the page link it's in) and we can then advise on how to change that HTML to remove clickability.

    Thanks! Here is my badge code:

    /redacted/
  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited December 24, 2009
    binaryeric wrote:
    Thanks! Here is my badge code:
    ?Can I see the link to the page that contains the badge? I didn't realize this was all flash, so perhaps the clickability isn't customizable.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited December 24, 2009
    Might have to add a spacer.gif and move it on top the flash.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    binaryericbinaryeric Registered Users Posts: 34 Big grins
    edited December 24, 2009
    Allen wrote:
    Might have to add a spacer.gif and move it on top the flash.

    This the standard SmugMug badge (Flash). How could I add the spacer.gif? I have a spacer image that I can use, but how do I set it up to be on top of the flash badge?

    Thanks!
  • Options
    jfriendjfriend Registered Users Posts: 8,097 Major grins
    edited December 24, 2009
    binaryeric wrote:
    This the standard SmugMug badge (Flash). How could I add the spacer.gif? I have a spacer image that I can use, but how do I set it up to be on top of the flash badge?

    Thanks!
    As I said before, we need a link to the page you're using the badge in.
    --John
    HomepagePopular
    JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
    Always include a link to your site when posting a question
  • Options
    binaryericbinaryeric Registered Users Posts: 34 Big grins
    edited March 6, 2010
    Allen wrote:
    Might have to add a spacer.gif and move it on top the flash.

    Allen, do you know how I might do this?

    Thanks,
    Eric
  • Options
    AllenAllen Registered Users Posts: 10,011 Major grins
    edited March 6, 2010
    binaryeric wrote:
    Allen, do you know how I might do this?

    Thanks,
    Eric
    Be much easier if we could see where it's used. I imagine enclosing it in a
    div with gif might work but don't know till try it.

    <div id="myBadge">
    <img src="/img/spacer.gif" width="750" height="100" border="0" alt="">
    <object>
    ...
    </object>
    </div>
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • Options
    jbmcclainjbmcclain Registered Users Posts: 5 Beginner grinner
    edited May 6, 2010
    I am tring to get the badge to be not clickable. what type of code would i use? as you can see i tried one thing but it did not work. any suggestions? Thanks jbm


  • Options
    binaryericbinaryeric Registered Users Posts: 34 Big grins
    edited May 6, 2010
    jb,

    I was never able to dedicate enough time to this to solve it but since then I have decided to abandon the flash badge and see if there is any way to create something extremely similar using javascript, dhtml, etc. So far no luck but I am still hoping to find someone clever who has done something like this. Flash components like the SM badge are troublesome, you have no ability to configure or modify them, and they can slow down your site.

    I'm really hoping that I can locate a non-flash alternative to the badge.

    Eric
  • Options
    jbmcclainjbmcclain Registered Users Posts: 5 Beginner grinner
    edited May 6, 2010
    Thanks. there is some customizing the badge here. What is very nice about it, is that for the use i am wanting all i have to do is collect new photos and drop them into the gallery and they become active on the site i have embed the code. So when there is a new project done i can remove the old and add the new with out have to recode the home page. 30 second process. verses a 20 minutes or so.

    thanks for the up date!
    binaryeric wrote: »
    jb,

    I was never able to dedicate enough time to this to solve it but since then I have decided to abandon the flash badge and see if there is any way to create something extremely similar using javascript, dhtml, etc. So far no luck but I am still hoping to find someone clever who has done something like this. Flash components like the SM badge are troublesome, you have no ability to configure or modify them, and they can slow down your site.

    I'm really hoping that I can locate a non-flash alternative to the badge.

    Eric
  • Options
    jbmcclainjbmcclain Registered Users Posts: 5 Beginner grinner
    edited May 7, 2010
    changing url redirect
    How would we change the url to redirect to a different web page. is this part possible? i am using the about link but if the pictures are clicked on i would like to direct it to another url..

    [HTML]
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="901" height="188"><param name="movie" value="http://www.photographybymcclain.com/swfs/badge/flashbadge.swf?useLargeImages=true&nickName=photographybymcclain&feedType=&BadgeHost=www.photographybymcclain.com&albumID=12089300&albumKey=oyXRE&width=901&height=188&gridSpacing=1&gridColumns=1&gridRows=1&background=%23000000&preloaderColor=&preloaderGlow=&gridDelay=2&slideshowDelay=4&order=norandom&forceSize=&showCaptions=false&introMode=fadein&aboutlink=http%3A%2F%2Fwww.spearcorp.com%2FPP-NorthRidgeHS.asp&sharelink=&albums="><param name="wmode" value="transparent"><param name="allowScriptAccess" value="always" /><embed src="http://www.photographybymcclain.com/swfs/badge/flashbadge.swf?useLargeImages=true&nickName=photographybymcclain&feedType=&BadgeHost=www.photographybymcclain.com&albumID=12089300&albumKey=oyXRE&width=901&height=188&gridSpacing=1&gridColumns=1&gridRows=1&background=%23000000&preloaderColor=&preloaderGlow=&gridDelay=2&slideshowDelay=4&order=norandom&forceSize=&showCaptions=false&introMode=fadein&aboutlink=http%3A%2F%2Fwww.spearcorp.com%2FPP-NorthRidgeHS.asp&sharelink=&albums=" width="901" height="188"  wmode="transparent"  allowScriptAccess="always" ></embed></object>
    
    [/HTML]

    Thanks!
Sign In or Register to comment.