?
Solved

Displaying information automatically

Posted on 2010-09-02
5
Medium Priority
?
313 Views
Last Modified: 2012-05-10
On this page http://www.suebeeglass.com/?gallery=handcraft there is an "I" icon that when you click it, it will display information about the particular photo. I would like it to display automatically and not need to be clicked. I tried a few options (see code below) but can't get it to work.  Any thoughts?
<script type="text/javascript">
jQuery("window").load(function(){
  jQuery(".galleria-info-link").trigger("click");
});
</script>
-----------------
<script type="text/javascript">
jQuery("window").load(function(){
  jQuery(".galleria-info-link").delay(800).trigger("click");
});
</script>

Open in new window


Sorry for the vague title.
0
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 40

Expert Comment

by:Gurvinder Pal Singh
ID: 33587065
Does it give any error? or just that onlick event is not triggered?
1) try doing it on document ready
2) just call click method
http://api.jquery.com/click/
0
 
LVL 82

Expert Comment

by:leakim971
ID: 33587216
What about : jQuery(".galleria-info-text").delay(800).show();
0
 
LVL 1

Author Comment

by:catonthecouchproductions
ID: 33624186
I tried this

<script>
$(document).ready(function() {
  $(".galleria-info-text").delay(800).show();
});</script>

on this page http://www.suebeeglass.com/?gallery=faux and it isn't working. thoughts?
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 2000 total points
ID: 33626058
Now you're using jQuery function before include jquery script

$document.ready(
///
);
< script type='text/javascript' src='http://www.suebeeglass.com/wp-includes/js/jquery/jquery.form.js?ver=2.02m' >< /script >

instead :


< script type='text/javascript' src='http://www.suebeeglass.com/wp-includes/js/jquery/jquery.form.js?ver=2.02m' >< /script >
$document.ready(
///
);
0
 
LVL 82

Expert Comment

by:leakim971
ID: 33631174
Thanks for the points!
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question