Forum

Link 3D objects to anchors in HTML page?

10 February 2018 10:44
I was wondering what would be the best way to link to HTML anchors in a webpage if my 3D buttons are part of a blend4web canvas element within such web page. Any ideas/help would be appreciated!

See attached concept:
13 February 2018 18:37
I've created an example for you. Found the solution here.
Alexander (Blend4Web Team)
twitter
14 February 2018 22:57
Thank you SO MUCH for this. I will try the javascript approach.

One question, I uploaded all your files into a server to see it but the canvas is not loading, am I doing something wrong?

https://gumgum-content.s3.amazonaws.com/ads/com/product_design/mocks/blend4webtest/links/test_project.html
15 February 2018 16:06
F12 shows me errors in the console:
Failed to load resource: the server responded with a status of 404 (Not Found) b4w.js

I think you've just copied my sources, in this case you also should have ../../dist/b4w.js (see html). The correct way to publish your application is to click build project and then "deploy project". Download the zip and unpack it on your server. The zip will include self-sufficient compiled application.
Alexander (Blend4Web Team)
twitter
16 February 2018 07:08
Thank you AGAIN!
 
Please register or log in to leave a reply.