Solved

Issues with javascript code that was before

Posted on 2014-11-05
3
277 Views
Last Modified: 2014-11-06
On this page, the two videos have an overlay of title text with grey background. When the user clicks on the video the grey box with the type is supposed to slide down. The code is there at the bottom of the ._global.js file and I'm pretty sure this was working, but it now isn't. I have been trying to figure out why it is not working now. Will keep working on but hoping someone can help me if I cannot figure it out

http://walmartcareerswithamission.com/why-walmart/our-mission/

Thanks
0
Comment
Question by:craftyfirst
[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 Comments
 
LVL 9

Expert Comment

by:Brian Tao
ID: 40425346
There's an exception - Uncaught TypeError: Cannot read property 'id' of undefined in _global.js:296 (same error on line 300), which is:
var temp = event.target.a.id;

Open in new window

I think you should get rid of the ".a" part of it.
0
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 40425359
replace :
var temp = event.target.a.id;
by :
var temp = event.target.d.getAttribute("id")
0
 

Author Closing Comment

by:craftyfirst
ID: 40426946
thanks. this worked perfectly.
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Where is this content coming from? 4 40
Powershell - Setting GPO 8 50
Drag & Drop Error 5 33
custom drop down menu with dependant results 9 16
This article discusses how to create an extensible mechanism for linked drop downs.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

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