Setting the hit counter to a specific number.

I posted this in the "previous versions" in error.
OK, I got the hit counter working in iWeb 08. Is there a way to set the number it starts counting from? I would like to start it where the old one left off rather than o.

Captain Mench wrote:
Where the heck did you find THAT code??
It's what you gave me in you post, your counter now is: counterValue="857" +- "?";
Source from the page?
Nope, it's all in the info you provided.
Seriously, there are a lot of debugging tools built in OSX, but you have to know what/how to turn them on. AppleScript (bundled in every mac, and my fav) is a tool that I use a lot, as I mentioned in my other posts, I can turn on/off iweb elements <edit> (from user/client browser end) </edit> at will in OSX and safari - because, iweb code is based on DOM: http://www.w3.org/DOM/ and heavily on javascript
I know a bar in Palo Alto that serves a pitcher of Sierra Nev pale ale for $5 (during lunch and happy hours), you buy and I'll show
Message was edited by: Cyclosaurus

Similar Messages

  • How does the hit counter work?

    hi
    a while ago i made a web site with a hit counter on it
    i wrote the hit counter using php and a flat text file to store the number of hits
    i experienced a number of problems
    1. if someone visited the site more than once, the hit counter would go up each time they visited. this is not really desired as i really only want to know how many unique hits i get
    2. web bots and web crawlers would also make the counter go up
    does the hit counter that iweb generates suffer from this problem?
    how does it work - from total hits or only unique hits?
    does anyone know it web crawlers effect the counter?
    thanks!

    It is a hit counter and will register even when you visit the website.
    I found this annoying, so I ditched the iWeb hit counter and went to Bravenet and downloaded a visit counter instead. You can customise your design and can have a visit counter instead of a hit counter and you can also set it to ignore your own hits - so if you want to visit your site to see how it looks it won't register your hit. The hit counter will register each time and for every page, whereas a visit counter will just register the visit to the first page and then thats it. If you use Bravenet it will give you stats too.
    I am sure you can get hit counters and visit counters from lots of other sources though.

  • The hit counter button does not show up after publishing page.

    I insert the hit counter button to a new blog post and when I publish, the button does not show up.
    I would really like to use the counter as this is a blog for a class I am teaching, and I would like to track
    student viewing.
    Also, sometimes the colors do not publish properly, specifically with links/rollover feature.
    Help!
    And thanks in advance for all you who know wayyy more than I do!  I hope to return
    the favor someday.

    First, thanks for the quick response Roddy.
    Once I posted the question, similar topics came up and what
    I did was remove the hit counter, publish the page without the hit counter. 
    Then inserted the hit counter again and wah-lah!
    Thanks for your reply, this information is correct and helpful as well.
    Very appreciative!

  • How do you set the font color for a specific entire row inside a JTable?

    How do you set the font color for a specific entire row inside a JTable?
    I want to change the font color for only a couple of rows inside a JTable.
    I've seen some ways to possibly do this with an individual cell.
    Clarification on changing the font color in an individual cell would be helpful too if
    there is no easy way to do this for a row.

    hai,
    Try out with this piece of code.Create your table and assign the renderer to each column in the table.
    CellColorRenderer m_CellColorRenderer = new CellColorRenderer();
    for(int i=0;i<your_JTable.getColumnCount();i++)
    your_JTable.getColumnModel().getColumn(i).setCellRenderer(m_CellColorRenderer);
    class CellColorRenderer extends JLabel implements TableCellRenderer
    CellColorRenderer()     
    setOpaque(true);     
    setHorizontalAlignment(LEFT);
    setVerticalAlignment(CENTER);
    setBackground(Color.white);
    setForeground(Color.black);
    protected void setValue(Object value)
         setText((value == null) ? "" : value.toString());
    public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected, boolean hasFocus, int row,int column)
         if(isSelected == true)
              setForeground(Color.red);
         else
              setForeground(Color.black);
         setValue(value);
         return this;
    regards,
    bala

  • Report:Setting the line-count in the output automatically

    i want to set the line-count in the report automatically irrespective of screen resolution.could you please explain.

    hi,
    try this,
    report zrich_0001  line-count 25(4).
    reward points if useful,
    regards,
    Raj,

  • Can we hide the hit counter

    Just wondering if we can put the hit counter on but have it hidden from visitors to our sites.

    Hi,
    Sign up for an account at Statcounter http://www.statcounter.com/
    which provides Invisible counters
    And put the code Statcounter gives you into an HTML Snippet
    More info on:
    http://alyeska.altervista.org/en/iWeb_Statcounter.html
    Regards,
    Cédric

  • Improper Spacing on the Hit Counter

    On this page on my website, the hit counter (at the bottom of the page) is not where it should be; in iWeb, it's about 40 pixels below where the horizontal rule (line) is. But when Safari renders the page, the hit counter ends up waaaay down below, about 300 pixels further than it should be.
    Could iWeb be giving the object an 'absolute' position, and the text size screws up how far down the page the text goes? I can't quite figure it out...
    In Firefox, the hit counter renders above the horizontal line. Is there any way I can put the hit counter inline with the text? (I'd rather not have to manually code the html each time I want to make a small change to the web page, and re-publish it...).

    Here's an easy fix...
    Open up iWeb to this page in question. Open up the Inspector panel, click on the Page tab. What you need to do is to adjust the values for Content Height and Footer. It's easier if you also go to the View menu and select "Show Layout" so that you can see exactly where the boundary of the content and footer are. Adjust the Content Height so that it actually fits your content. I think for your page, the default values are waaaay too short. Keep adjusting the value up until you see the bounding line of the layout actually start to move beyond your content. This threshold is the correct value for Content Height.
    As for the footer....is your counter part of the body content or is it part of the footer??? One option is to make it part of the footer if you like by Apple-dragging it into the footer (you will see the footer borders highlight on the drag). Then adjust the footer size so that it just fits the amount of vertical height you need to encompass the counter. The other option is to leave your counter as part of the body content...adjust the Content Height appropriately. Then adjust the footer to zero. Republish. Problem should be solved with none of the variability between browsers, too.
    If you find this information useful, please take the time to provide me with feedback by marking my reply as "solved" or "helpful" using those little buttons that you see in the title bar of this reply. I'd really appreciate it!

  • How to set the size of SUM()/SUM() of NUMBER Tyep?

    I met the oracle truncation error when I post the
    SUM(a field)/SUM(b field), a and b field are NUMBER Type
    From the OCI Doc, Numbers with up to 38 digits precision.
    and I set the size of data buffer 41 for NUMBER TYPE.
    (for example)
    rc = OCIDefineByPos( hstmt, &m_pDefine, ((CEBOracle *)pDatabase)->m_hpErr, index,
                   (dvoid *) m_lpszBindData, m_nBufSize+1, SQLT_STR,
                   (dvoid *) m_cbIndicator, (ub2 *) 0, (ub2 *) 0, OCI_DEFAULT);
    I always set the output datatype as SQLT_STR
    and m_nBufSize is 41 for NUMBER Type
    my client met the error when the result is 0.00012345678912345678912345678912345678912
    I think that it's not a solution that just enlarge the number form 41 -> 45
    How can I avoid this problem when user send the SQL Statement that the result has unlimited decimal number?
    Thank you in advancd

    ORA-01406 fetched column value was truncated
    I found the reason of that problem.
    I migrated from OCI Ver7 to Ver8
    If I set the buffer size to 10 (actually 40 in my program) and the result was
    0.0000000000000000001
    When I debuged the output buffer
    The result was 1.0E-19
    but now 0.00000000 and truncation error
    how to change floating point and scientific expression automatically depend on the result like OCI Ver7 and SQL PLUS?
    I changed define function
    odefin(m_hstmt, ii+1, (UCHAR *) m_lpszData[ii], m_lpLength[ii]+1, SQLT_STR, -1, m_lpcbValue[ii], 0, -1, -1, 0, 0);
    to
    m_rc = OCIDefineByPos( m_hstmt, &pDef, ((CEBOracle*) m_pDatabase)->m_hpErr, ii+1,
              (dvoid *) m_lpszData[ii], m_lpLength[ii]+1, SQLT_STR,
              (dvoid *) m_lpcbValue[ii], (ub2 *) 0, (ub2 *) 0, OCI_DEFAULT );

  • What can replace the hit counter - preferably one without ads - an html code?

    I'm looking for some html code for a hit counter to replace the one from iweb.
    The free sources all have ads associated with them.

    Statcounter is kind of overkill for most websites much like Google Analytics.
    You will get a link to a whole bunch of simple hit counters on this page...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Statistics.html
    Am I the only person on the planet that uses the web server stats like Webalizer? No code required and even I can make sense of them!

  • [SAP CRM] How to get just the hit count of objects with a database query?

    Hello,
    i need help. For performance reasons I dont want to get the query result with all the objects from the database. I just want to send a request / query to the database in order to know how many entries are there available with my search parameters.
    At the moment I load all the objects via class cl_crm_bol_dquery_service and the method get_query_result in an internal collection. And after that I call the method size in my collection object. But to gain better performance I just want to know the count. With standardized select statements I would take the select count statement, but in this case it is not possible.
    So I tried to call the retrieve_hit_count method, but I will receive the exception cx_sy_no_handler anytime.
    I would be very pleased to receive an answer <removed by moderator>.
    Thank you very much!
    Marcus
    Edited by: Thomas Zloch on Feb 16, 2011 1:45 PM - priority normalised

    It will be 0 before the call method statement and 1 during exception handling.
    The exception starts in CL_CRM_BOL_DQUERY_SERVICE=>RETRIEVE_HIT_COUNT when the system tried to perform the following statement:
      Return hit count if already available
        rv_hit_count = me->handle->get_hit_count( ).
    The handle variable seems to be empty. But why?
    Edited by: Marcus Findeisen on Feb 17, 2011 9:24 AM
    Edited by: Marcus Findeisen on Feb 17, 2011 9:27 AM

  • How could I block the incoming calls to a specific number

    How could I block the incoming calls and text messages to a specific number?

    Contact your cell service provider.
    Message was edited by: deggie

  • How to manage the same counter based on Order Number and Order Items

    Hi All,
       we need some help to build an infocube and a query as described in the following scenario.
    ODS 1 (Order Numbers aggregated at month level) defined as:
    - Order Month
    - Customer
    - Counter
    ODS 2 (Order Items aggregated at month level) defined as:
    - Order Month
    - Customer
    - Product
    - Counter
    We would like to build an InfoCube that allows us to create a query through which we are able to compare:
    -  ODS 1 - Counter, that means the number of orders without considering the product
    -  ODS 2 - Counter, that means the number of orders where a specific product is included
    For example:
    ODS 1:
    Order Month........Customer........Counter
    200701...............20001.............10
    200701...............20002.............5
    ODS 2:
    Order Month.............Customer...................Product..........Counter
    200701.....................20001.......................A....................1
    200701.....................20001.......................B....................10
    200701.....................20002.......................A....................4
    200701.....................20002.......................C....................5
    The desired query should show the following result
    Ord Month.Customer..Product.....Counter....Counter
    .................................................(ODS2).....(ODS1)
    200701......20001.......A..............1..............10
    200701......20001.......B..............10.............10
    200701......20002.......A..............4..............5
    200701......20002.......C..............5..............5
    Do you have any idea how to get this result?
    Thanks
    Kind Regards

    Hi Valeria,
        Have a look,
    <a href="http://sapbwneelam.blogspot.com/2007/08/sap-tables.html">How to... Count the occurrences of a characteristic</a>
    <a href="http://sapbwneelam.blogspot.com/">More Docs .....</a>
    Hope it Helps
    Srini

  • How to reinstall ios 7 because in the setting the phone did not take my number please if you can help

    how to reinstall ios 7 because in the setting it did not take my number and i can not know my credit please if you can help

    you forgot your credit card info? trying to reinstall it wont fix this ( which you cant do anyway,although you can restore it to an earlier setting)

  • How to set the default y-axis chart as Number instread of Currency

    Hi,<BR><BR>1. New<BR>2. Chart<BR>3. select dimensions in Navigate window<BR>4. on y-axis the default display is "currency"<BR><BR>So I have to manualy change this settings:<BR>1. right mouse click and select Char Properties<BR>2. Axes tab<BR>3. select Y-axis<BR>4. Format: Number<BR><BR>Thanks,<BR>Grofaty

    Also, I missed another point.
    In the folder c:\dbdata I have a number of CSV files on the user frontend. I would like the BSP application to get the list of files in the folder and process them one after the other. How can I get the list of files on the folder in the user PC and how to process them one after the other.
    I want the form to display only the default folder and once I press on upload it must process all files and display the status of processing on the same page.
    Please kindly share ideas how I can implement this app.
    Thanks
    Karen

  • Setting the Client Count per WLAN and per AP radio

    Hi
    We use WLC 5508 with 7.4. We tried to set max allowed clients per AP radio to 30 through GUI. We have APs with 80 clients associeted though.
    Has anyone else tried this feature?
    When entering config wlan max-associated-clients max-clients wlan-id we got 
    "WLAN/Guest-Lan/remote-lan is enabled.Please disable to configure max associated clients."
    GUI doesn't show that message, should it?  In GUI, Is it necesary to disable WLAN before too?
    Thanks
    This is the show wlan output

    No, the GUI does some stuff automatically, like disablen/enabling the WLAN when you make the change.
    From teh CLI *you* have to do them.
    HTH,
    Steve
    Please remember to rate useful posts, and mark questions as answered

Maybe you are looking for

  • My Apps wont update auto or Manually

    Does anyone have any ideas on how to fix an issue with the apps not updating automatically and Manually. Automatic is turned on in settings and i'm on IOS 7.1

  • How can I change power mamangement idle timers to less than 15 minutes?

    Can someone please take a crack at this? It's a little confusing that power manager allows the display to be turned off after only 1 min of idle yet won't allow the brightness to be lowered until at least 15 minutes. I would like the brightness to be

  • IWSRPSessionReleaseService interface not found

    Hi, I need to change the MastHead iView according our functioanality. For that i have downloaded the par file make changes . I am not able find the interface com.sap.portal.iviewserver.wsrpservice.consumer.wsrpconsuming.sessionmanagement.IWSRPSession

  • Marketing Online Customization Problem

    Hi, Currently I am working on Oracle Marketing Online Customization. I want to develop a applet, and add it in the Marketing Online home page. How to make my Applet a web bin and customer can select whether to show it or not. Many thanks.

  • How do i install it?

    How do i install it?!?!