Adding Hyperlinks to Image & Text - javascript

I'm a beginner coder and I've been tasked to do some coding in JavaScript using the jQuery library.
What I'm supposed to do are two things.
When I click on a pre-existing image it redirects me to a URL.
When I click a pre-existing text in the navigation bar, it redirects me to a URL.
I can do this fine in HTML but have some challenges with jQuery. Can any kind soul show me where I should start?

This info should help you out...
http://www.w3schools.com/tags/tag_a.asp
http://www.w3schools.com/jquery/sel_attribute_end_value.asp

Related

WordPress - Several Menulinks to same URL active

Im designing a big Dropdown-Menu with 2 Sub-Levels in the Divi WordPress Theme, where several menu-links are individual-links pointing to the same Page (the customer wants this). Now all of those links get an active class by default in WordPress once any link is clicked.
Is there an easy way around this without using jQuery?
I tried solving this using CSS, but I think Im missing something really basic in the WordPress settings.
Do you have a URL we can take a look at?

How do I dynamically create a hyperlink in asp c#?

I don't have code for this, as everything I have checked does not help me.
I am merely asking whether it's possible to do what I am trying to do.
I am creating a news article website. On the create page, on button click to create, a new aspx page is generated.
"Project/Articles/(todays date folder)/newarticle.aspx" is the generated path.
The create page is "Project/Create.aspx"
What I am trying to do is create a link to the newly generated article on the homepage.
"Projects/HomePage.aspx"
I want to know if it is possible to do this, even if I need to use Javascript/jquery for it.
I've gone through dozens upon dozens of help articles and forums to find my answer, but the best I could find is generating a link on the same page.
All of this is done with webforms.

any one who can help me with an online bookshelf?

Is anyone there who can help me to find a server which can store E-Contents (E-Book, video and podcast) and provide an embedding option to be used in my website?
You can use The Preview Wizard for books.
The Preview Wizard is designed to let you quickly, easily, and
reliably integrate previews with your site. You can embed a book
viewer, link to Book Search, or even add a preview "popup" window to
your siteā€”all you need to do is generate the code and paste it onto
your page. You can also customize this code using some simple
JavaScript functions.
Instructions
Demo

Does anyone know of any cool JQuery plugins to display a profile picture and acompaning text in a box?

Ive seen a few however they dont seem to allow you to write much text alongside an image, its mostly a brief title or caption display whereas I have quite alot of text that I would like to be displayed alongside an image. preferably in some kind of light box. Id be very grateful if anyone has any suggestions. Im new to Jquery :)
Have you had a look at jQueryUI's Dialog? It's quite nice and you can just pump any HTML directly into it.
I'm using JQuery galleryview for my project. here is the link on the development server. Click on one of the button for example:
http://ssdev01.uis.kent.edu/VotingApplication/Main.aspx

Create simple website with left menu and right content

I hope to create a website simple website with:
Left menu with items to click
When each item clicked, right menu is changed with new content. The content is always: title, picture 1, text description, picture 2. Same format for all left menu items.
Ideally I want the page to be just 1 page, without frame or separate .html files. If the item is clicked, jQuery will change the photos on right side with photo url in some array.
Is there an easy way to create this with existing templates somewhere? Either from internet, Wordpress (without database), Dreamweaver, or Dreamweaver plug-in... I just want to avoid having to do from scratch.
If you imagine this right, it could be just like a help page from MSDN, IBM or Apple Developer website. Just don't want to do each html separately due to potential change in format later.
Thanks.
Basically, each "page" should be placed in a div that is hidden with css. jQuery can show and hide the divs with a variety of effects.
I have created a simple example for you here:
http://jsfiddle.net/RLdmZ/2/
Whilst the exact specifications you require may not exist already, there are other options in jQuery.
Notably, a search for a 'jQuery gallery' returns many options varying in design, implementation and complexity.
Have a look for yourself!
I hope this answer solves your question.
It's my first answer, so go easy! :]

Categories