Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Linking to specific location in an html page

Subject: Linking to specific location in an html page

From: Naresh Pai

Date: 4 Dec, 2010 20:55:05

Message: 1 of 1

Hi,

I am trying to link elements within a GUI to specific locations in an html page. My default browser is IE 7. For example, to connect to section 11 of a html document, I tried using:

web([pwd '\User_Manual.html#11'],'-browser');

This opens the html page but does not scroll it to section 11. In the html page, I have tried using both the "name" and "href" attributes within the "a" tag. Any suggestions on handling this?

Since the user manual for my GUI is pretty long, my goal is to provide a direct link to specific location so that the user does not have to unnecessarily scroll. I would appreciate if you have any alternate suggestions to implement this.

Thanks,
Naresh

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us