Outbound click counter ?

Is there a way to count the number of clicks on particular links??
[email protected]

Hi there,
It sounds like your question is for Dreamweaver or is about your website rather than about Adobe Exchange which is what this forum is for. Please try http://forums.adobe.com/community/dreamweaver

Similar Messages

  • Simple click counter - how to

    Trying to create a simple ad click counter
    ie
    click ad on page.php - ad has record ID
    go to
    adprocessingpage.php with ID in URL
    put update transaction on page (maybe this is the wrong approach??)
    update record where ID matches
    when finished go to URL - also sotred in that ads record
    2 problems
    1
    can't see how to increment field value
    I can get the value in a recordset - but cant find the syntax to increment
    (recordset called rs_sel_ad)
    $upd_advert_adv->addColumn("clicks_adv", "NUMERIC_TYPE", "VALUE", "{rs_sel_ad.clicks_adv}");
    what I need is {rs_sel_ad.clicks_adv}={rs_sel_ad.clicks_adv}+1
    2
    the go to URL is taken from that record
    but the page goes to (website base url) + recordset URL
    http://testserver/http%3A%252F%252Fwww.advertiser.com
    I just need the recordset URL
    http://www.advertiser.com
    any help appreciated
    Paul

    Gerd's attached image is actually a VI snippet.  You should be able to save it locally on your desktop and then drag the image into LabVIEW (doesn't usually work dragging the image directly from a web browser unless you make use of a plugin).
    In case that doesn't work though:
    Wait Until Next ms Multiple
    The metronome icon.
    Increment PtByPt
    The icon that has the increment (+1) icon inside it.
    While Loop
    The gray box around the whole thing.
    Oh and the Green arrows on the edges of the while loop are a shift register, you can create this through the right-click menu when you right-click on the edge of the while loop.
    Best Regards,
    John Passiak

  • Click counter button

    Can anyone direct me to a good tutorial on writing the
    actionscript and php for a button with a click counter.
    Or can anyone explain to me how to do it?

    use a search engine to look for that.

  • Mouse clicks count!

    Hello!
    I have a JTable. I added a mouse listener to it! The problem is that I cannot count the mouse clicks correctly!
    I have:
    mouseClicked(... e){
    e.getClickCount()
    but I only get 1 click, despite the double click I made!
    Does the table mouse listener erases the preceding event and never gets to count the second click? I got the behaviour of two single clicks!
    THANKS in advance!
    Rui Vale

    ... the the milli between the events... if they are say 40 milli or less the action is a double click...if not restart the chronometer...You can use other listener to...it depends on what you want to do!
    JRG

  • Click counting on an exe flash file

    hello.
    i have an exe flash file that i will distribute to several
    people. is there a way to count the clicks they do when they get to
    certain part of the file? certain buttons, links, etc?
    also, if i have website links, how can i count when they hit
    the link?
    is there a way to do both things.
    thanks

    To count the clicks, you would simply use a Mouse.onMouseDown
    listener. It doesn't make a difference whether it's a HTML-embedded
    Flash movie or an exe.
    I think the problem arises from the fact, that you want to
    store this information somewhere, or do you want to send it back to
    your computer?
    The other thing, the website link is counted on the server,
    not within Flash.

  • Click counter on a flashbanner

    Ive searched the internet so many times for this but I cant
    find what im looking for anywhere.
    Im an advertiser and right now Ive created banners that are
    placed on external websites. I want to see how many people click on
    my banners so I know if its profitable or not.
    Is there a code I can use inside my flashbanner that counts
    each click and sends the info to me?

    you'll need some server-side code on YOUR server, not the one
    that hosts the banner. you'll also need a cross-domain policy that
    allows the swf in the host domain to access the code in your
    domain.

  • Mouse click count problem..

    Hi Development Team..
    I have a problem while getting the number of mouse clicks.In our application for single click on one button it is performing some functionality and by double clicking the same button it is performing other functionality.Noe the problem is if i double click the button the functionality for single click and double click functionality both are performing.
    Now i am trying to print the mouse clickcount for double click it is printing both ..1 , 2
    if(me.clickCount()==1)
    System.out.println("You Clicked Single Click");
    else if(me.clickCount()==2)
    System.out.println("You Clicked Double Click");
    Out Put :
    You Clicked Single Click
    You Clicked Double Click
    Both Statements are printing ..
    But i want for Double click it should print 'You Clicked Double Click'
    Please rectify the problem ....
    Thanking you in ADVANCE..
    Vivek
    }

    Shiridi_Sai_Baba wrote:
    Please rectify the problem ....Yes, of course, right away. I mean, obviously, there are lots of people here that are only waiting for you to tell them to rectify your problems.
    Especially so, since you couldn't be bothered to search the forum before posting because this is of course a problem that no one else could ever have come across before.
    Just for reference, this [http://forums.sun.com/thread.jspa?forumID=31&threadID=781650] is the very first hit when searching for "mouse double click".

  • Simple Click Count

    I am fairly new to dreamweaver and php but have been finding
    my way around. I am looking to just increment a certain field by +
    1 whenever the details page is opened for that record. I know there
    are .txt click/page counters, but I am looking to use the hits
    field to filter for a top ten entries area. I was thinking I could
    do it with a hidden field and onLoad submit form. I could be way
    off. If anyone can help me out it would be appreciated.

    > thinking I could do it with a hidden field and onLoad
    submit form
    You wouldn't need to even get that sophisticated. Just
    increment the hit
    value in the database each time the page loads (of course
    that would
    increment on refresh too, but so would your scheme).
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "jh369057" <[email protected]> wrote in
    message
    news:ghkm98$m5r$[email protected]..
    >I am fairly new to dreamweaver and php but have been
    finding my way around.
    >I
    > am looking to just increment a certain field by + 1
    whenever the details
    > page
    > is opened for that record. I know there are .txt
    click/page counters, but
    > I am
    > looking to use the hits field to filter for a top ten
    entries area. I was
    > thinking I could do it with a hidden field and onLoad
    submit form. I
    > could be
    > way off. If anyone can help me out it would be
    appreciated.
    >

  • Word count and my ActionPerformed

    I am having a little trouble with my program and was wondering if anyone could spot the mistake... I am trying to make a simple application that will count the number of words in a text field via click of a button and display the results.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class WordCount extends JFrame implements ActionListener
    // added JTextPane, JScrollPane, JPanel JTextField, and JButton
        public static void main(String[] args)
         // layout
        public WordCount()
              super();
              Container cp = getContentPane();
              wordCount.setEditable(false);
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(jbtCount);
                   jbtCount.addActionListener (this);
              south.add(new JLabel("  Word Count: "));
              south.add(wordCount);
              cp.add(BorderLayout.CENTER,jsPane);
              cp.add(BorderLayout.SOUTH,south);
         public void actionPerformed(ActionEvent e)
              //if(e.getSource() == jbtCount)   // user clicks Count Words Button
              Object s = e.getSource();
             if ( s instanceof Button )
                  jtPane.setDocument(new DefaultStyledDocument() {
                        public void insertString(int offset, String str, AttributeSet as) throws BadLocationException
                           super.insertString(offset,str,as);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                           wordCount.setText("" + countValid(tokens));
                         public void remove(int offset, int len) throws BadLocationException
                           super.remove(offset,len);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                             wordCount.setText("" + countValid(tokens));
                  else{}
         } // end actionPerformed
         private int countValid(String[] tokens)
              int count = 0;
             for (int i = 0; i < tokens.length; i++)
                    if (tokens.trim().length() != 0)
              count++;
         return count;
    } // end public class WordCount

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class WordCount extends JFrame implements ActionListener
         JTextPane jtPane = new JTextPane();
         JScrollPane jsPane = new JScrollPane(jtPane);
         JPanel south = new JPanel();
         JTextField wordCount = new JTextField(20);
         JButton jbtCount = new JButton("Count Words");
        public static void main(String[] args)
              int width = 700;
              int height = 300;
               WordCount f = new WordCount();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             f.setSize(width, height);
             f.setTitle("Word Counter");
             f.setLocation(200, 200);
             f.setVisible(true);
        public WordCount()
              super();
              Container cp = getContentPane();
              wordCount.setEditable(false);
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(jbtCount);
                   jbtCount.addActionListener (this);
              south.add(new JLabel("  Word Count: "));
              south.add(wordCount);
              cp.add(BorderLayout.CENTER,jsPane);
              cp.add(BorderLayout.SOUTH,south);
         public void actionPerformed(ActionEvent e)
              //if(e.getSource() == jbtCount)   // user clicks Count Words Button
              Object s = e.getSource();
                  // *** process Button actions
            if ( s instanceof Button )
                  jtPane.setDocument(new DefaultStyledDocument() {
                        public void insertString(int offset, String str, AttributeSet as) throws BadLocationException
                           super.insertString(offset,str,as);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                           wordCount.setText("" + countValid(tokens));
                         public void remove(int offset, int len) throws BadLocationException
                           super.remove(offset,len);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                             wordCount.setText("" + countValid(tokens));
                  else{}
         }// end actionPerformed
         private int countValid(String[] tokens)
              int count = 0;
             for (int i = 0; i < tokens.length; i++)
                    if (tokens.trim().length() != 0)
              count++;
         return count;
    } // end public class WordCount

  • How to handle both single click and double click from mouse

    hey,
    I looked in past threads and didn't get a proper answer for capturing both single and double click from the mouse.
    in most applications the single click action does not interfere with the double click action, for example in a text editor, single click sets the cursor in between the text, double click marks a word, triple click marks a sentence, they do not bother each other, they all can happen first the single then the double and then the triple, but what if i have a very distinct action for each of the actions, the e.getClickCount() returns every time the number of clicks and if i use
    if(e.getClickCount()==1)
        doSingleClick();
    if(e.getClickCount()==2)
        doDoubleClick();it will always do first the single click and then the double click, which works fine with the example i gave, but not with what i want to do, so i was thinking to over come this that i will use another thread to run my tasks if dt has past since the last click and by the last click counts to perform the correct action and go to sleep until the next mouse click notify it, what do you think?
    run this to get what i mean...
    package blah;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class MouseClickTest {
         static long previousTime = System.currentTimeMillis();
         public static void main(String[] args) {
              JPanel panel = new JPanel();
              JButton component = new JButton("Hit me, please");
              component.addMouseListener(new MouseAdapter(){
                   public void mouseClicked(MouseEvent me){
                        if(me.getClickCount()==1)
                             System.out.println("Now I will do single click action");
                        if(me.getClickCount()==2)
                             System.out.println("Now I will do DOUBLE click action");
    //                    System.out.println("Click count: " + me.getClickCount());
              panel.add(component);
              Launcher.launch(panel);
    package blah;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Launcher {
         public static JFrame launch (Container contents, String title, Color backgroundColor) {
              JFrame frame = new JFrame (title);
              if (backgroundColor != null) {
                   frame.setBackground (backgroundColor);
                   contents.setBackground (backgroundColor);
              } else {
                   frame.setBackground (contents.getBackground());
              frame.getContentPane().add (contents, BorderLayout.CENTER);
              frame.pack();
              frame.addWindowListener (new WindowAdapter() {
                   public void windowClosing (WindowEvent e) {
                        System.exit (0);
              frame.setVisible (true);
              return frame;
         public static JFrame launch (Container contents, String title)      {
              return launch (contents, title, null);
         public static JFrame launch (Container contents, Color backgroundColor) {
              return launch (contents, contents.getClass().getName(), backgroundColor);
         public static JFrame launch (Container contents) {
              return launch (contents, contents.getClass().getName());
    }

    Read my comments and solution in this posting; [http://forums.sun.com/thread.jspa?forumID=57&threadID=705244]
    and then choose a better design for your application.

  • Dispatcher count values for scheduling downtime in oracle b2b 11g

    Hi all,
    I would like to know if anyone has implemented scheduling in oracle b2b. Please share your suggestions.
    1) What should be the value for 'Outbound Dispatcher Count' & 'Inbound Dispatcher Count' in case of outbound & inbound transactions for large transactions. How do we define this value? Can you give some ratio for this value to this number of transactions? Currently we expect around 8000 messages to flow in span of two hours.
    2) What could be the performance issues that we can come across if any after we are done with this setup ?
    Thanks

    8000 messages in 2 hours is not a huge load. Please set the below values before configuring downtime -
    Outbound Dispatcher Count = 1
    Auto Stack Handler= true
    Auto Stack Handler Interval= 1
    'Inbound Dispatcher Count' is not used for downtime feature.
    There will be no impact on performance.
    Regards,
    Anuj

  • How to detect only single click and not double-click mouse events in Swing?

    Hi,
    In my application, I want to implement a functionality only for single click. But problem is on double click, first i can see a single click and then double click.
    i.e e.getCount() return 1 and then 2 for double click. I want to avoid this situation.
    Shouldn't it be just one event with a clickCount of 2? or any alternative solution?
    Please let me know how can i stop this.
    Thanks in advance..
    Cheers
    Somasekhar
    Edited by: SomasekharPatil on Mar 13, 2009 3:36 PM

    Maybe something like the below example:
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.SwingUtilities;
    import javax.swing.Timer;
    public class SingleClickOnly {
        public static void main(String[] args) {
         SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
              new SingleClickOnly().createGUI();
        public void createGUI() {
         JFrame frame = new JFrame();
         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         JLabel label = new JLabel("Only acts on a single click");
         label.addMouseListener(createListener());
         frame.add(label);
         frame.pack();
         frame.setLocationRelativeTo(null);
         frame.setVisible(true);
        public MouseListener createListener() {
         return new MouseAdapter() {
             private int clickCount = 0;
             private final Timer timer = new Timer(1000, new ActionListener() {
              @Override
              public void actionPerformed(ActionEvent e) {
                  if (clickCount == 1) {
                   System.out
                        .println("Executing action on click count 1 only");
              timer.setRepeats(false);
             @Override
             public void mouseClicked(MouseEvent event) {
              clickCount = event.getClickCount();
              System.out.println("Clicked: " + clickCount);
              if (clickCount == 1) {
                  if (timer.isRunning()) {
                   timer.stop();
                  timer.start();
    }Piet

  • How to open subscribe dialog box when clicking ics link

    I would like to create a web page containing all our shared calendar links so my users need only to click a link which will open iCal, have the "subscribe" dialog box pop up and have the calendar URL auto filled.
    I've gotten as far as opening the ics file with iCal but am stuck on how to force the "subscribe" box to automatically open.
    For example, I would want the link: http://sharedcalendars/home/scott/calendar.ics
    to open iCal, pop up the "subscribe" box and auto fill the URL field with http://sharedcalendar/home/scott/calendar.ics .
    My users are lazy and complain to great lengths about having to manually type the URL of each shared calendar.
    Any Ideas?

    mouse listener on the tree, see if the click count is 2 and what node it clicked, open the dialog. MouseEvent can give you the click count and x/y coordinate, JTree can tell you what node is at that coordinate.

  • Single click Button

    Gang,
    I want my buttons in the tool bar to be clickable only once, What is the common practice out there. Do you guys use a mouse listener and getClickcount and ignore more than one clicks.
    In my case I want to create a Mybutton extends JButton class and implement actionPerformed which ever method (??) that gets called. In that method i want to do the action and disable the button for couple of seconds. That way Only first click is received and rest of them are ignored. So what do you guys think is this a right procedure or is there a better faster and efficient way to do this.
    The challenge i have is could you guys please tell me if i have my MyButton class, which method gets called when the button is clicked. So that i can add my enable and disabling of button code in that method. Like fireActionEvent or some thing.
    In Jdk1.4 i have seen setMultiClickThreshhold(long); which is exactly what i want. So that i can ignore all of the multiple clicks.

    1. use click count and do only something if clickCount == 1
    2. In order to react on the click event you have to
    use an ActionEvent Listener, and register that Listener
    with your Button.
    When the button is clicked the actionPerformed method
    of the Listener will get called.
    For details see the Java Tutorial.
    Spieler

  • Distinguishing between single and double left click

    Hello there,
    Is it possible to handle a single click and a double click separately?
    I mean to ignore a single click handling, when you double click.
    Thank you

    I agree with bazja01 except I would make a small change as shown below:
    private class MouseListener extends MouseAdapter {
       public void mouseClicked(MouseEvent e) {
          if (e.getClickCount() > 1) {        // change from ==2 to >1
              // do double click process
          } else {
              // do single click
    }This is because for some unknown reasons, on my Windows 98SE, the click count jumped from 1 to 3 on a double click and I wasted a lot of time trying to figure out why my code using ==2 didn't work.
    V.V.

Maybe you are looking for

  • Do i need to make specific configuration to use video call at ichat?

    i am new user of ichat? i can not make video call at ichat? My famile they use normal PC. how can i make it to work with AIM yahoo messenger? thank you...

  • Connecting two BW systems to 4.6 C OLTP SYSTEM

    hello experts, i got issue while creating source system in BW SYSTEM. My is i trying to conect single oltp source system(4.6C) to TWO BW clients one system is having connection already... now i am trying to connect other system. all the RFC Conection

  • Which respoitories to use? please see the thread for the scenario!

    Hello Guru's, I want to use KM Repositories instead of using the Content Repository which we create in Backend system using OAC0 T.Code. The requirement is to store employee photos so that can be linked to Image Container used in Who's Who applicatio

  • Problem extending mx:WebService

    This simple program gets a syntax error. If I replace WebService with lots of other class names, for example mx:VBox, it's OK. The error just says "Parse error at '<mx:WebService>'." Is there some rule that you can't extend a web service? Thanks. <?x

  • Wlc remote fallback

    Hi, I have multiple WLC installations on different sites with Local APs. Is there a methodology or plan to solve fallback situation by installing a central WLC in the DataCenter (e.g.) What should I follow to create a solution to this problem? Licens