Mighty Mouse Event

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Hello

I want to open two of my web pages automatically when my web site loads and initializes. I want my users to transfer data between the pages using tabbed browsing and copy/paste. To do this at least two pages must be open and tabbed when the user enters the site. You may rightly say that all that the user need to do is right click two links and select "load in a new tab", but this is quite beyond many of my customers who are accustomed to "cart shopping". Hence I need to have software do what the mouse normally does and follow these links using software generated Mouse Events. You might like to look at my site,

EverydayElegance.org

I have the following code and I need your help in filling its place-holders. My Index page contains two links PRODUCTS and ORDERS and lets just consider the PRODUCTS link. Its HTML code is

Products

The Mouse Event software I have found is from http://stackoverflow.com. I have added the
Photo of a.g.soper

a.g.soper

  • 8 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of a.g.soper

a.g.soper

  • 8 Posts
  • 0 Reply Likes
Oh dear, it seems my message was heavily truncated. The code for the PRODUCTS link is


The code snippet I am trying to use you can find at
http://stackoverflow.com/questions/90...

My questions are

1. Which are the placeholders for the link to be clicked? My guess is "link" and "hred".

2. What data from my link do I use to fill the place holders? Again I guess that the substitutions are

link replaced with Products

href replaced with "our-products.php" target="_blank"

3. Where should I put this code in my site page code? I tried an HTML widget and I tried the "head area" accessed via the access provided by Yola for site tracking code.

Yes I have implemented my "guesses" and of course they did not work. Nothing at all happened when I installed and modified the code and published the site and opened it. I should have seen a tab called 'Products' appear.

I am quite desperate to have this feature working and I will greatly appreciate your help. I have a little knowledge of HTML. I have never used the scripting language, Java??

Sincerely,
Andy Soper
a.g.soper@gmail.com
Photo of a.g.soper

a.g.soper

  • 8 Posts
  • 0 Reply Likes
Hmmmm it seems that even the url for my code is truncated. Let me try to send the code
Photo of a.g.soper

a.g.soper

  • 8 Posts
  • 0 Reply Likes
Nope my java script was rejected Let me try to give you the url broken into bite sized pieces

http://stackoverflow.com/
questions/902713/how-do-i-automatically
-click-a-link-with-javascript
Photo of a.g.soper

a.g.soper

  • 8 Posts
  • 0 Reply Likes
In my site you can find the coded in the first HTML widget on the Index page.

My apologies for straining the limits of what types of query you can accept.

Sincerely,

Andy
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Andy,

Have you received my email? You may be able to get further assistance on this thread: http://forum.yola.com/yola/topics/got...
Photo of a.g.soper

a.g.soper

  • 8 Posts
  • 0 Reply Likes
I looked again and I don't see any response except your brief one. Your system may be confused by my attempts to submit my query and believe that the question is ANSWERED
Photo of a.g.soper

a.g.soper

  • 8 Posts
  • 0 Reply Likes
Hi Sanja,
I am very confused. I have received no email from you except this one to which I am now replying. As you will have seen the original query I submitted was severely truncated by the forum's input filters. Can I rather send the query to your email? Fortunately I have a copy. I looked through the thread you sent me and I do not see any relevant response there but i will look again.

BTW I am in South Africa and my time is GMT +2. Please where are you located so I can try to reach you during you working hours?

Sincerely,
Andy
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Andy,

I have sent you another reply today. Please let me know if you have not received it.