Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8743395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:40:06+00:00 2026-06-13T11:40:06+00:00

I have a url which will showing in iframe <iframe width=250 height=200 frameBorder=0 data-href=http://localhost:8080/webapps/testauth.jsp?appID=a71c5859-03eb-4c16-ac08-1cac24ed2a1d></iframe>

  • 0

I have a url which will showing in iframe

<iframe width="250" height="200" frameBorder="0" data-href="http://localhost:8080/webapps/testauth.jsp?appID=a71c5859-03eb-4c16-ac08-1cac24ed2a1d"></iframe>

If I paste the above code into any web site, it will showing the widget into the site such as Facebook plugin.

But now my job is to change it from the iframe to css div. I don’t have too much knowledge of UI part and facing problem can any help me please.

change should be something like this

<div class="something"data-href="http://localhost:8080/webapps/auth.jsp?appID=a71c5859-03eb-4c16-ac08-1cac24ed2a1d" data-width="292" ></div>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T11:40:08+00:00Added an answer on June 13, 2026 at 11:40 am

    You will need to do a cross domain ajax request for that. It is done in following steps

    • Build the ajax request in a js and put it on the domain from which you want to publish your widget

    • Add the script to the page on which you want your widget to appear. Make sure that you set the source of the file to the owner domain and do not copy the js file locally. It is necessary otherwise browser will raise security warning and will not allow it.

    • Call the function included js to perform the request and fetch the content from originating domain.

    This will make the process of adding the widget a bit more difficult but the div will not allow you to load content from any domain (only iframes and frames can do that).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a URL which can be any of the following formats: http://example.com https://example.com
I want to make customer route for url which have parameters. <a href='javascript:void(0)' onclick=window.location='<?php
I have a URL which will serve a protected file to my user. The
I have created a ListActivity in which I am showing some data ,but after
I have a hyperlink on my aspx which will take to users to http://something/leadoc/FnJavaView.aspx?Library=DefaultIMS:myserver:FileNet&Id=3611376&ObjType=2&Op=View
I have a url which could be www.website.com/order/?pg3=2 or www.website.com/orderstatus/?pg2= There could be several
I have a url which have a response in Json lon=-0.1275&pg=0 I parsed the
I have a url which has some get variables in it like: domain.com/recover?email=my@email.com&token=abc123 inside
Hi have this URL string which I need to extract possibly using regex but
I have the following URL which links to the product page of a Mac

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.