This version supports a better banner positioning method.
To put the banner to the postion wanted you need a correct css-theme and an
actual wp-version !
Keep in mind that the banner-div is placed as first child of a parent element.
A parent element can be a tagname e.g. “body”, a classname or an element id.
If you call InsertElement in banner.php you have to edit the first two parameters.
With the first parameter you define the tag-id. This could be “tag” for a tag element
“class” for a class element “id” for an element id. This should enable you to place the banner just where you want it, so e.g. if you got a Partypoker ad that needs to be in just the right place or a personal banner you want placing on your site, you won’t find it a problem.
The second parameter defines the element name.
E.g. if you want to place the banner div after the body tag element you have
to call InsertElement(‘tag’,'body’,'banner’)
if you want to place the banner div between the latest and the penultimate
post you can use InserElement like this:
Supposed there is a post-2 element as latest post.
You have to consinder that if you want to place the banner like this, you do a layout manipulation !
That means you have to take care of the banner and/or the wp-theme layout css !!
The wp-banner style-sheet is found in “styles” folder.
You can download the new version here