Create a file called mobile.js and add the following code to it, be sure to replace shawnhyde.com with your own domain name.
You will need to create a link back to your full version site for people with large display smart phones that do not want to use the mobile site. In order to do this you just need to add the following code somewhere on your mobile site.
You can also add a floating link back to your mobile site in case they have problems by adding the following code to your main site.
You will need to add a file named desktop.css with something like the following code.
You will need to add a file named mobile.css with something like the following code.
Also, be sure you update the code to reflect the correct folders for files. For example, "css" folder, "js" folder.
Edit / Updated the code to support newer mobile clients.
To disconnect from a ghost or rogue network path do the following:
- (Open cmd.exe)
- net use /delete \\(computername)\(sharename)
To disconnect from a ghost or rogue network drive do the following:
- (open cmd.exe)
- net use (diveletter): /delete
The IE developer toolbar is a great little tool. However, it adds one annoying function to IE even when it is not open, the annoying little pop-up ruler box. You can easily disable this function by doing Ctrl+R while it is open and then close it with the x.
Here is the code, add this to your global.asax file:
add this code to the top of the master page or template you wish to include ads on:
Now add this code to the area of the page you want your ads to be displayed: