Creating a graphic Hyperlink

Hi Folks,

I am new to Sharepoint 2010.

I am trying to create a custom button with rollover state and a hyperlink when clicked on the button, goes to "home" page.

How do i do that?

Thanks

RG
rgarimellaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

zephyr_hex (Megan)DeveloperCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rgarimellaAuthor Commented:
Hi,

I know how to create rollovers in a HTML page, my question was where to add in Sharepoint Designer for the hyperlink and where to add the code for javascript.

Thanks
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello, your question does not mention SharePoint Designer at all.

If you edit a page with SharePoint Designer 2010, you can insert an html form control button. Insert ribbon > Html dropdown > Input button.

Right-click the button and select Properties. In the properties pane you will find all the events and can edit stuff there.

Code for JavaScript can be added in many ways. It depends on what access you have and how re-usable you want the code to be. One possibility is to save the js as a text file in a SharePoint library. Then create an empty Content Editor Web Part and link it to that file.

cheers, teylyn
0
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

rgarimellaAuthor Commented:
Hi Teylyn,

I found out the form control buttons, my idea was to use custom buttons.

I am really new here to sharepoint. The question still remains, where/how to add a rollover state and make the button go to a relative page called home.aspx

Thanks
0
rgarimellaAuthor Commented:
Also how to add events in Sharepoint. I need some examples
0
rgarimellaAuthor Commented:
I am also getting an error message when i set a hyperlink.

Content in the embedded form field may be changed by the server to remove unsafe content. Do you want to reload your page to see the results of the save.

After this the hyperlink is removed.

Any ideas on how to get around it?
0
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
The warning message and the stripping of the hyperlink only happens in Wiki pages.

Where exactly do you want to place the button? Only on one page? Then use a Web Part page instead of a wiki page.

If you want the button to be visible on all pages, then you can change the master page for the site.  In that case, you can also include a link to the Javascript file in the page head, or include the JavaScript verbatim in the head.


cheers,
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.