This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

HTML5, CSS3 and jQuery website template, can't get the pop-ups to work

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a free template I am trying to adapt for a personal portfolio:
http://www.priteshgupta.com/templates/vivid-photo

I have edited the original template and uploaded it HERE
This is the style.css:
http://home.stoynev.net/test/css/style.css";" target="_new" rel="nofollow">http://home.stoynev.net/test/css/style.css

On the menu on the right, the template originally comes with three links - ME, MY WORK and CONTACT; when clicked, a Java pop-up shows the content of the links.

However I need two more links - RESUME and REFERENCES.

The pop-ups are defined in a separate file called pop-ups.js:
http://home.stoynev.net/test/js/pop-ups.js";" target="_new" rel="nofollow">http://home.stoynev.net/test/js/pop-ups.js

I have added the respective code in pop-ups.js for the two additional menu entries that I need, and also in index.html so they show on the webpage,
in style.css along with the code for the three pop-ups that work "out of the box".


The problem is that after all done, when I click on ANY of the two new entries I added (be it References or Resume) - no pop-up shows...


The two articles - References and Resume - are defined in index.html as such:


Here is the modified section from style.css - I added just two entries in each line (popupResume and popupReferences, etc):


And these are the two paragraphs I added to pop-outs.js:



I am not that good w/ Java so any help will be greatly appreciated, TIA!
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java and JavaScript are entirely different and the code which you are referring to is JavaScript, moving this thread to Javascript forum.
 
Shiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic