codeswing icon indicating copy to clipboard operation
codeswing copied to clipboard

Code links

Open SaviDev opened this issue 4 years ago • 3 comments

Hi! I dont undestand how connect links.where am i wrong?

<nav id="menu"> <ul class="links"> <li><a href="index.html">Home</a></li> <li><a href="swing:portfolio.html">Portfolio</a></li> <li><a href="swing:curriculum.html">Curriculum Vitae</a></li> <li><a href="contatti.html">Contatti</a></li> </ul> </nav>

when I press portfolio or curriculum it doesn't change page.

SaviDev avatar Jan 12 '21 10:01 SaviDev

Hey! Apologies for the confusion. The swing links are meant to allow you to open a code file within the editor, not to navigate to another page. Are you looking to add a second HTML file to the swing and navigate to it from the main index.html file? If so, I might need to add better support for that, since I don't believe the WebView can navigate to other pages.

lostintangent avatar Jan 12 '21 16:01 lostintangent

"Are you looking to add a second HTML file to the swing and navigate to it from the main index.html file?" Yes, i was trying this method

SaviDev avatar Jan 12 '21 19:01 SaviDev

Can i have multilple CodeSwing in the same folder? I would create a CodeSwing for a different html inside the same folder of index.html

SaviDev avatar Jan 13 '21 13:01 SaviDev

Closing this as not planned, since I never heard any other feedback about this behavior.

lostintangent avatar Dec 28 '23 17:12 lostintangent