This is about layers folks..

liunx

Guest
Listen, I just want to put a little hit counter into a layer, that's all. I noticed when you Download <!--more--> them free ones, what you see is what you get, that's not what I'm after. I got to be able to put that into a layer and move it around, shake it up a little. If you've done this before and modified code to fit your needs, give me a reply and let me in on it. Meanwhile I'll dig through books, trying to figure it out.<br />
But your knowledge would certainly be appreciatted.<br />
<br />
Oh, check it out, <!-- w --><a class="postlink" href="http://www.bassanglersofsandiego.pair.com">www.bassanglersofsandiego.pair.com</a><!-- w -->, you will see where I want it. I got a little black layer right there in the empty spot.<br />
Alright, have a nice weekend folks, enjoy this nice weather.:cool:<!--content-->I can't really see your problem. I suppose free hit counters give you a snippet of code, and you may place it wherever you want on your page.<!--content-->i agree agent, when you sign up they give you a piece of code to copy and paste into your page, place that in the layer, and if you want to hide it change layer visibilty to hidden.<!--content-->Ok, great !<br />
I got it in a test layer and it's working. However, I was hoping to change the font to Arial,Helvetica, sans-serif, font size 8, font color 66FFFF. Here is the code, would you be so kind as to help me out changing it to do this? or give me an example of what it should look like ?<br />
<br />
<div id="Layer1" style="position:absolute; width:253px; height:38px; background-color:#999999; layer-background-color:#999999; border:1px none #000000; z-index:1; left: 208px; top: 114px"><br />
<IMG SRC=http://www.htmlforums.com/archive/index.php/"http://counter.digits.com/wc/-d/4/basdfishingsite" ALIGN=middle<br />
WIDTH=60 HEIGHT=20 BORDER=0 HSPACE=4 VSPACE=2></div><!--content-->As usual free hit counters, you must call an image which shows the number of hits (it's because it's probably the only way that works in absolutely every browser). If your hit counter service lets you change colors, it's possible, but otherwise you can only use another hit counter service which lets you modify colors.<!--content-->And by the way, the attribute "align" defines the horizontal align, which may be left, center or right. To define the vertical align, use the "vAlign" attribute. Values may be top, middle or bottom.<!--content-->because you are using a hosted script, you will have to make the changes (if possible) through their site.<br />
<!-- m --><a class="postlink" href="http://www.digits.com/change.html">http://www.digits.com/change.html</a><!-- m --><br />
their script produces an image style number, so it may not be possible to really control the text showing. they may only give you specific image options.<br />
<br />
if you have Perl/CGI and SSI or PHP capabilites, there are tons of scripts you can add to your site and personalize them to your content.<br />
<br />
as for your div layer, it looks like your positioning settings were moved to the end in error. the left and top values should be right after the absolute value instead of at the ending.<br />
position:absolute; left: 208px; top: 114px;<br />
<br />
i am unsure if there is an actual property named "layer-background-color". it may be possible though. not one i've heard of before.<!--content-->Ok, so that's useless. Is there a code that I can put in so I don't have to deal with services? Just do it myself in other words? I mean, what are the hosts doing that I can't do?<!--content-->http://cgi.resourceindex.com/Programs_and_Scripts/Perl/<br />
<br />
Have a look there<!--content-->That's pretty sad that with all the knowledge we have today, we cannot add a simple code that notices when a new ID has loaded our pages and add numbers accordingly.<!--content-->and my favourite script resource hotscripts (<!-- m --><a class="postlink" href="http://www.hotscripts.com/Perl/Scripts_and_Programs/Counters/">http://www.hotscripts.com/Perl/Scripts_ ... /Counters/</a><!-- m -->) also has quite a few, do you want to show off how many hits you get to your visitors or is it for your info, if so the best place for stats are you own logs<!--content-->There are always some limitations when using remotely hosted scripts. That's why I always prefer to use my own scripts if I can.<!--content-->Leo,<br />
It's pretty basic stuff really, I just want to add a counter that (for all to see) that matches my font and color scheme. I'm lookin now through sites.<br />
Thanks.<br />
update: I found a site that has the customization I want and the font is very close or good enough. Problem is the page counts every time it's loaded and the counter pops up real slow. <!-- w --><a class="postlink" href="http://www.butterpuff.com/">www.butterpuff.com/</a><!-- w --><br />
<br />
update: Bravenet.com pulls through for me, not much customization options there, but they had satisfactory choices for what I need. Finished counter at <!-- w --><a class="postlink" href="http://www.bassanglersofsandiego.pair.com">www.bassanglersofsandiego.pair.com</a><!-- w --><!--content-->
 
Back
Top