开发者

Trying to anchor a link in center of in-page scroller content

开发者 https://www.devze.com 2022-12-19 02:38 出处:网络
I am trying to link from www.membersolutions.com to a press release here. All pages besides the homepage for the most part have that in-page scrollable content. Is there anyway I can link to a press r

I am trying to link from www.membersolutions.com to a press release here. All pages besides the homepage for the most part have that in-page scrollable content. Is there anyway I can link to a press release halfway down the page, I'm pretty sure you can开发者_高级运维't do it with straight HTML/CSS??


From what I see, the press release cannot even be scrolled at all since it precisely fits the visible panel. Anyway, in order to link halfway down a page, you would have to target an appropriate anchor. This would imply targeting a tag with a respective id attribute. With that, you could target page.html#anchor-name. As for custom scrolling, it would require some degree of JavaScript.

0

精彩评论

暂无评论...
验证码 换一张
取 消