Need a clickable div tag? Use the onClick javascript function to achieve this like this:
<div id=”header” onclick=”location.href=’index.php’;” style=”cursor:pointer;”>
Need a clickable div tag? Use the onClick javascript function to achieve this like this:
<div id=”header” onclick=”location.href=’index.php’;” style=”cursor:pointer;”>
→ No CommentsTags: Front End
→ No CommentsTags: Brain Dump
I was struggling with using a spacer image as a href link inside a div tag that used a background image to align properly in Firefox and IE (go figure, eh?). I decided to make the whole <div> tag clickable and remove the spacer image to create the link I needed like this:
<div id=”header” onclick=”location.href=’index.php’;”>
The only problem was that if you moused over in this case the logo that was part of the header background div, the mouse did not change like it normally does with a link. I overcame this by using the following in my css and it works perfect in both IE and Firefox:
cursor:pointer;
cursor:hand;
Make sure to use both pointer and hand as that is the only way to get the hand mouse effect in both IE and Firefox (did I say go figure already?)
Cheers!!
→ 1 CommentTags: Front End
We recently had to locate and recommend a spyware/spamware solution to a client and found this product to be MOST excellent. It had a number of well know awards and located a great deal of spy/spamware in our testing.
http://www.pctools.com/spyware-doctor/
Anti-virus:
We are also recommening Avast for anti-virus as it has been proven numerous times to pick up threats that Norton’s product did not.
http://www.avast.com/
→ No CommentsTags: Brain Dump
My problem was with a previous version of Norton installed, more info here:
→ No CommentsTags: Brain Dump
The age old question is answered by Google Engineers in an interview I found. In short, yes but be careful of flash loaded with JavaScript as the indexing may not be able to load the flash file. For the most part and text elements (text, buttons menu) are indexed and made available for snippet or keyword content.
→ No CommentsTags: Brain Dump
If you have a slow server, sometimes restarting these services from the command line can clear up all of the issues.
Here’s the easy process:
Please use caution when doing this… you could break things if you’re not careful.
Log into the command line via SSH, and then type in each of these commans and press enter. The system will display information on restarting the services on the Linux command line:
| /etc/rc.d/init.d/sendmail restart /etc/rc.d/init.d/xinetd restart /etc/rc.d/init.d/syslog restart /etc/rc.d/init.d/poprelay restart /etc/rc.d/init.d/named restart /etc/rc.d/init.d/mysqld restart /etc/rc.d/init.d/httpd restart /etc/rc.d/init.d/webppliance restart /etc/rc.d/init.d/MailScanner restart /etc/rc.d/init.d/proftpd restart |
→ No CommentsTags: Brain Dump
→ No CommentsTags: Brain Dump
The say necessity is the mother of all invention, or in the computer world it should be “annoyance is the mother of all invention” but then you can also say nothing is ever invented, its simply googled and found as well :-) or at least it seemed so today.
Basically on my Windows XP development machine I had the most annoying situation where I could not see a thumbnail view of my Adobe Photoshop .PSD files when viewing a folder thru windows. Since I tend to save everything in PSD and multiple versions with layers it was a crap shoot trying to pic which PSD I wanted to select from any given folder.
Introducing….ThumbView Lite! I found this cool tool that now automatically gives a thumbnail view in windows explorer for Adobe Photoshop CS3 .psd files just like if you were looking at a .jpg or .gif.
Thumbview website: http://www.seriema.net/thumbview/index.php?page=download
→ 1 CommentTags: Brain Dump
find . -name ‘*.jpg’ -exec cp {} /var/webs/hosts/yourdomain.com/webdocs/images \;
Go into the directory you wish to copy files and issue the above command
→ No CommentsTags: Brain Dump