Archive for the 'Web Tricks' Category


Social Bookmarking

Posted by Rev
In Web Tricks
23Jan 08

Social bookmarking is fast becoming popular and proving to be helpful for both users and SEO types. With the onslaught of SEO tricks, gurus are trying to get their sites listed in social bookmarking sites to add one-way incoming links to their pages. With sites like digg.com, del.icio.us, stumbleupon.com and many others, they are making an easy way to gain relative links.

On a personal note, social bookmark sites that offer private bookmarks, such as hurl-it.com, seem to be more useful to me. This way a user can bookmark sites just like they would add them to their favorites, but have access to them from any computer that has access to the internet. Way cool! Now we can work from home late at night, researching sites with the information that we need, and instead of trying to remember them, or sending a hundred e-mails to ourselves at work, we can just add them to these sites, login once we are at work, and access them like we have them stored in our own memory.

I find myself, not only bookmarking sites, but actually looking at sites that other users have bookmarked, and actually voting(digging, hurling, etc.) on them too. It’s like I have a vote, and it actually counts for something. (Small I know, but still…..!!)

 Check some of these sites out for yourself, and see what you think.


Flash in HTTPS

Posted by Rev
In Web Tricks
10Nov 07

I have had an issue working on a website, where flash will not show up when the user is on the secure (HTTPS) side of the site. I found a solution, however, not by searching for it, just by trying different things, and it seems to work. All of the http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 needs to be changed to https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0, and all of the movie values and source values need to be directed to the absolute URL as in http://www.yourdomain.com/yourflashfile.swf, rather than a relative link such as yourflash.swf.

This works for all https situations in both IE7 and Firefox, and will avoid the”Big White Square” syndrome meaning Movie Not Loaded.



Okay, so in our shopping cart system which uses asp.net, we run accross the silly little pop-up from IE that tells us that some things on the page aren’t secure. Rather than explaining to every single customer (about 13,000 visitors per day, I’d hate to be the one answering the phone) how to set their security preferences in IE to display mixed content, I wanted to devise a way to switch back to the non-secure area of the site, when not visiting pages that require security. We are using Able Commerce, but I am sure this could pertain to any number of systems, although some of the coding would no doubt change.

Okay so the left navigation menu, calls the links to the rest of the cart system from the database, it calls them by using:

response.write(objLNMenu.getHTML())
objLNMenu = nothing

So what I did was this:

‘response.write(objLNMenu.getHTML())
dim strLinkHTML as String
strLinkHTML =  objLNMenu.getHTML()
strLinkHTML = Replace(strLinkHTML, “/shop/”, objStore.StoreURL)
response.write(strLinkHTML)
objLNMenu = nothing

Which basically took the regular value of objLNMenu.getHTML() which would be: /shop/productpage.aspx for example and then used that value and replaced the /shop/ with the objStore.StoreURL, which is: http://www.yourdomian.com/shop/. Thus ending up with an absolute link of: http://www.yourdomain.com/shop/productpage.aspx. Which in turn being an absolute link, takes the user from the secure side (HTTPS://) into the non-secure (HTTP://).

That way if you do have a few images, or iframes or whatever that are called with an absolute link from your domain, or another domain, the user will never get the annoying pop-up message, and you will never get the ever annoying e-mail or phone call saying that your site is not secure, when in fact it is.


Subscribe to RSS