Jump to content

I cant stop page jumping down to embeded frame

Recommended Posts

Site URL: https://www.enki-verse.com/

I have embeded an src (as I don't have a commercial account I cant use iframes) to have a panorama gallery on my site using this code:

<body>
    <center>
       
        <embed src="https://app.lapentor.com/sphere/enkiverse" 
               onload="this.width=screen.width;this.height=screen.height-100;"
               style="border:none;" >
    </center>
</body>

it works well however I can't stop the page jumping down to this frame when the page loads.

I cant use the inject code function as I don't have a commercial account. I can add to css or change the src code though.

can anyone help?

 

Link to comment

Did you construct this code yourself or was it generated on lapentor.com?
You could try adding this to the embed: scrolling="no"

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

I tried changing the code to:

<body>
    <center>
       
        <embed src="https://app.lapentor.com/sphere/enkiverse" 
               onload="this.width=screen.width;this.height=screen.height-100;"
               style="border:none;"
      scrolling="no" >
    </center>
</body>

 

but it still scrolls down

Link to comment
  • 2 weeks later...
  • 2 months later...
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.