By Rick Beddie on1/19/2008 12:38 PM
I recently added a rollover effect to my site logo (if you rollover the rhoek.blog
logo at the top you should see what I mean), and here's how it's done. Overview.
The effect is created by using a transparent image for the physical logo uploaded
to DNN and then using CSS to add a background of the logo image. This background
contains both states of the rollover, the normal view and the rollover effect,
which is then re-positioned using the a:hover pseudo-class, to create a rollover. Step 1. Create the logo background graphic. 
Using photoshop, or whichever graphics package you use for creating artwork,
design and layout 2 versions of your logo,1 for each of the 2 states. The key
to remember here is that only half of the image will show at any one time, so
make sure that the image is twice the height of the logo you use on your site,
also make sure that each state is centered within its half so they line up when
the effect is complete. Image Sizes:
For the example shown my physical logo size is 225px x 78px and the backgr ...  |
By Rick Beddie on1/13/2008 2:50 PM Recently I had an enquiry into one of my container packs not centering content properly. The Glossy Titles Version 4 containers are almost completely css based with only one table being used for the content pane. It turns out that the table was not 100% wide, and therefore when the content was aligned to the center using the settings in the module options, which adds a css class style of text-align:center, there was no effect because the containing element (the table cell) was collapsed. So having fixed the issue of the table not being 100% wide, I tested the containers on other browsers, to discover that the alignment doesn't work for firefox, opera, navigator, or safari. The reason for this is that these browsers don't use the text-align css styles to align box elements like divs, tables and forms. To achieve centering for these items, which will work for many o ... |
By Rick Beddie on10/28/2007 11:30 PM After recently receiving an email regarding icons not showing up in my template DNN containers, I thought it best to explain why they aren't included in my current container packs, and the solution for including icons if they are necessary (This is a small piece of HTML that needs to be added to the container .html file in the skin pack). 1. The reason they're not included in my current container packs is so the design of the containers won't break when icons that are too large for the space provided is used. Understandably the main point of templates is to offer the most amount of functionality within the skins, however I felt that this wasn't one of the main pieces of functionality that the containers needed to provide so I didn't include it. 2. The solution for including the icon space in the container skins - As with all the dynamic areas of dotnetnuke skins, this is added during the design process through a DNN skin Token, in this case the [ICON] token within the container skin HTML file. If you unzip the main container skin files and locate the html for the specific container you are adding the icon to, and open this so you can edit the html. Find the area within the html code where you would like to see the icon, I'd assume this to be somewhere near the [TITLE] token if ...  |
By Rick Beddie on9/23/2007 2:58 PM The search functionality of DNN has recently gone a good upgrade, which has seen it include the ability to search both the local site and the entire web. Being a skin designer this has posed slight constraints on my previous designs as it requires additional space for two new form controls. This additional space has pushed some of my previous designs to breaking point and I've therefore been on the hunt for a method of turning this functionality off, rather than simply hiding it with css. Below is the required code, to be placed in you skin XML file, for turning the display of these options off, as default the search will still cover the local site so there's no need to worry about having them not show as long as you don't need the ability for web search. <Object>
<Token>[SEARCH]</Token>
<Settings>
<Setting>
<Name>showWeb</Name>
<Value>False</Value>
</Setting>
<Setting>
... |
By Rick Beddie on9/19/2007 6:11 PM A couple of days ago I went to the effort of adding a couple of blog entries, and decided to try and make my site perform a little better, or at least change some settings and see if there were any noticeable improvements. So ahead I went and looked in the host settings, checking out the options for performance and proceeded to swap them around. After publishing the tweaks I left the site alone so my cache wouldn't pick up the saved version of the site instantly and came back to it every now and then to see how things were speeding up. Well they didn't really, if anything the site was reacting slightly slower than usual, so I went in and tried to change the settings back. To my dismay, by my changing the Page State Persistence: to Memory I'd created a bug in my site that stopped it from working (at this point I couldn't make any changes as none of them were saving). After panicking, thinking that all was lost I ended up having to restore the db back to a copy from the day before and it was sorted. All that is except for the additional blog entries which I'll add again shortly. So if you're thinking of making this change please be careful otherwise you may need to make a restore back to an older version. ...  |