Skip to content

InSiteFrame: A lightweight JS plugin for embedding secure, external content in slide-in frames on your site, enhancing user retention without navigation away.

Notifications You must be signed in to change notification settings

hardikforall/InSiteFrame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

InSiteFrame

InSiteFrame

InSiteFrame is a versatile JavaScript plugin designed to enhance user engagement on your website. It allows secure, third-party content to slide in seamlessly, providing users with additional information without navigating away from your site.

Features

  • Secure Slide-In Frames: Only allows HTTPS content to be embedded, ensuring secure browsing for users.
  • Sleek User Interface: Features a minimalistic, easy-to-use interface complete with lock icons for secure sites.

Quick Start

  1. Include the InSiteFrame CSS and JavaScript in your page:
<!-- InSiteFrame Stylesheet -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/hardikforall/InSiteFrame/insiteframe.css">
<!-- InSiteFrame Script -->
<script src="https://cdn.jsdelivr.net/gh/hardikforall/InSiteFrame/insiteframe.css"></script>

you can use above cdn links or download files directly

Thats it! The InSiteFrames will be actibvated.

Configuration

  • Use the data-title="Your Title" to show Title to the InSiteFrames. Default it will take Link Text as Title
  • Use the data-skip-iframe attribute to have links open in a new tab instead of in an InSiteFrames.
  • Apply the data-force-iframe attribute to force non-target="_blank" links to open in an InSiteFrames.

Styling

Customize InSiteFrame by editing the insiteframe.css file. Override the default styles to match your site's aesthetics.

Contribution

Your contributions are welcome! Please fork the repository, add your code improvements, and submit a pull request.

License

InSiteFrame is open-source software released under the MIT License. See LICENSE for more details.

About

InSiteFrame: A lightweight JS plugin for embedding secure, external content in slide-in frames on your site, enhancing user retention without navigation away.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published