im using laravel 5 , created page have iframe whenever click link jump page (the page has iframe) redirects me link iframe source has (refer below)
this link page has iframe
<a href="{{ url('/webmail') }}">to webmail page iframe</a>
and iframe in webmail page
<iframe src="http://megamitch.ph:2095/" scrolling="no"></iframe>
whenever click link, redirect me "http://megamitch.ph:2095" instead of jumping webmail page "http://mysubdomain.mydomain.com/webmail/.
how prevent page redirecting yet stuff must working iframe (like can click or normal actions site has been loaded through iframe)?
update:
heres route , controller code (refer below)
route::get("webmail", "mot@webmail");
and in controller
public function webmail(){ $data = branch::all(); $breadcrumbs = '<li><a href="' . $this->url->to('/webmail') . '">webmail</a></li>'; $activelink = "webmail"; return view('pages.webmail', compact('breadcrumbs', 'activelink', 'data')); }
everything works in local no redirects occured when put development live host, redirects me.
Comments
Post a Comment